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



Reply via email to