httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: Event MPM - CLOSE_WAITs
Date Mon, 22 Nov 2004 15:16:46 GMT
Paul Querna 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 
> 1024?)

There's more than ulimits going on here.  I had over 900 sockets stuck in 
CLOSE_WAIT for at least 10 minutes after I shut down the spec client.  They 
cleared up right away when I shut down httpd.

Greg


Mime
View raw message