event mpm

Started by hontvari, June 18, 2011, 04:03:15 PM

Previous topic - Next topic

hontvari

I wonder what is the status of event mpm on Windows. Is intended to be run on Windows? If yes, does it work now? Or later within the 2.3 beta branch?

mario

Event mpm is not for Windows and I think it won't be. winnt mpm is already a threaded mpm. OK it is more like worker mpm. But comparing that is like comparing apples with oranges. The only thing I saw in that direction was from Paul Querna who wanted to simple mpm also to be on windows. But I haven't seen any progress yet.  http://journal.paul.querna.org/articles/2008/10/29/new-simple-mpm-in-httpd-trunk/

hontvari

If I understand well, the winnt mpm allocates one thread for each keep-alive connection. So 10 000 connections require 10 000 threads even if 9000 connections are idle. On the other hand event mpm does not use threads - and so memory for thread stack etc. - for idle connections. So it can serve the same 9000 idle plus 1000 active connections with only 1000 threads.

For example on an IIS 7.0 server at this moment we have 2800 established connections, 120 seconds connection timeout. The two IIS Worker processes use 25 threads together. I have no idea where to look for the count of threads used by http.sys or some other unknown component which participates in serving HTTP, but the whole computer runs 500 threads.