fastcgi returns 500 error on EINTR

Bug #743633 reported by Bob Copeland on 2011-03-27
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
libapache-mod-fastcgi (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: libapache2-mod-fastcgi

When fastcgi gets an EINTR in select, it returns a 500 error to the client rather than handling the issue.

The following is shown in apache error logs:
(4)Interrupted system call: FastCGI: comm with server “php-fastcgi.fcgi” aborted: select() failed

On a large web server under load, this can happen to a few percent of connections. Affects version 2.4.6 in at least 8.04 and 10.04. libapache2-mod-fastcgi_2.4.7~0910052141-1 from natty fixes the issue, so a backport of the fix or package to LTS would be welcome.

Please see the following links for more info:
http://www.fastcgi.com/archives/fastcgi-developers/2009-January/000156.html
http://geektank.net/2008/11/fastcgi-and-dreaded-aborted-select-failed/

Adam Cooper (adam-j-cooper) wrote :

I've been struggling to find out why my server occasionally returns a 500 error. I found this log message on a low traffic site (so it stood out like a sore thumb).

Would really like a backport or ppa so I don't have to worry about this anymore.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libapache-mod-fastcgi (Ubuntu):
status: New → Confirmed
ringmaster (ringmasterow) wrote :

I've had similar issues with the same 2.3.6 version on multiple 10.04 servers. Count me in support of a backport.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers