Fastcgi and the dreaded aborted: select() failed

I was getting reports of “500 Internal Server Errors” on two of my web servers. And after further investigation it looks like it was related to the following error. (4)Interrupted system call: FastCGI: comm with server “php-fastcgi.fcgi” aborted: select() failed After doing some reasearch I stumbled upon the following patch. http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1

I was getting reports of “500 Internal Server Errors” on two of my web servers. And after further investigation it looks like it was related to the following error.

(4)Interrupted system call: FastCGI: comm with server “php-fastcgi.fcgi” aborted: select() failed

After doing some reasearch I stumbled upon the following patch.

http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1

Will test this out and see if it has resolved some of the problems.
*UPDATE* The following Debian Lenny and Etch packages complied by a non Debian Package Maintainer are available.

http://isp-control.net/forum/thread-5462.html

Upgrading libapache2-mod-fastcgi from 2.4.6 to 2.4.7 seems to have rectified the issue.

Cheers!

*UPDATE*  Heres the link to the FastCGI developers site talking about the bug. http://www.fastcgi.com/archives/fastcgi-developers/2009-January/000156.html


Did you like this article?


0 Shares:
You May Also Like

Exim4 and PHP and PHP-CGI mail() function using incorrect From: and applying Sender: headers.

If you're using Exim4 and PHP as a module or as a CGI with suexec. You may have noticed some issues with your mail. Specifically you would have noticed that either the "From:" header was using "[email protected]" or "[email protected] name, its also possibly that you had an additional header called "Sender:". There are two things you need to do to fix this. You first need to make sure that your "php.ini" has the following value "sendmail_path = /usr/sbin/sendmail -t -i". Which is the default, double check this variable as it might be set to something else.
Read More