Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-26 Thread Elmar Krieger
where caused by a problem with state filtering in the iptables config, related to the local firewall. It required a new Linux kernel to fix, since then Apache is running happily... CU, Elmar Tom Evans wrote: On Wed, 2009-06-24 at 08:09 -0500, Elmar Krieger wrote: Dear Apache users, I'm

Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-24 Thread Elmar Krieger
>> Dear Apache users, >> >> I'm forced to write yet another program that downloads HTTP files from >> an >> Apache server, > ... > Naive question : why would you do that, when there are probably at least > 10 existing libraries/utilities that already do that, and do it right ? > > I mean that downl

[us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-24 Thread Elmar Krieger
Dear Apache users, I'm forced to write yet another program that downloads HTTP files from an Apache server, and I'm facing a problem that is new to Google: First, to ensure that my application stays responsive, I enabled a timeout with setsockopt(sockid,SOL_SOCKET,SO_RCVTIMEO right after th