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 1024?)


...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!

-Paul

Reply via email to