mod_perl loses STDOUT in middle of request
- by puzzled72
Hi,
I have been having this weird issue where mod_perl seems to lose STDOUT in the middle of the request. So far I have eliminated everything I could think of.
You might have seen this bug related to the following errors in error_log :
Apache2 IO flush: (103)
Apache2::RequestIO::read: (104)
Software caused connection abort
They are all the same error. It happens when the perl script running under mod_perl loses STDOUT when trying to print the result back to apache.
I only notice this error on my servers running the following:
(centos5.4)
Perl 5.8.8-27
mod_perl 2.0.4-6
httpd 2.2.3-31
kernel-2.6.18-164.15.1
It's not the code
This code has been working for months
It's not network related
The browser gets the error response from apache.
It's not time related
I get the error 15 or so seconds after I restart httpd
It's not idle httpd related
I have tried reducing the min/max SpareServers to 1
It's not load related
I get the error even if there are only 10 sessions on httpd
It's not related to the "fd < PERLIO_MAX_REFCOUNTABLE_FD" perl 5.8.8 bug
I recompiled perl-5.8.8 with the patch mentioned here : https://bugzilla.redhat.com/show_bug.cgi?id=559832, same error.
It appeared sometime between December 2009 and February 2010
sorry I cannot be more specific
Anyone has any idea ? Anything that I have not tested ?
Really Puzzled!