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.

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.

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


*UPDATE*  Heres the link to the FastCGI developers site talking about the bug.