httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <>
Subject Re: Event MPM - CLOSE_WAITs
Date Sat, 20 Nov 2004 00:49:18 GMT
Greg Ames wrote:
> I have Paul's version of the Event MPM patch up and running.  The only 
> glitch I saw bringing it up was a warning for two unused variables in 
> http_core.c (patchlet below).   Then I tried stressing it with SPECweb99 
> and saw some errors after several minutes:
> [error] (24)Too many open files: apr_socket_accept: (client socket)

Need to bump your ulimits. I ran into this too.  After raising it to 
4096 open FDs per process, I didn't have any issues. (Linux default is 

> ...and a few others with the same errno.  Digging into it a bit, sockets 
> are hanging around with netstat showing an abnormally high number of 
> CLOSE_WAITs. We must be missing a close() somewhere.  Maybe in the 
> timeout logic?  I believe that was reworked.
> If no one beats me to it and day job permitting, I'll investigate 
> further next week.

I am planning to commit the Event MPM to svn in a few minutes :)

Thanks for the patch!


View raw message