[peruser] Patch for busy servers

Marcelo Coelho marcelo at tpn.com.br
Tue Jan 4 13:12:23 MST 2011


Hello,

I believe we are close to final RC3 patch. Here it is my v6 patch.

Changes (from RC2):

* (v6) Bug fixed: apachectl graceful now working properly, without "long lost child" errors
* (v5) Not released to public
* (v4) Code cleanup
* (v4) Performance: childs are started in ~25ms, 40 times faster than in RC2 (~1000ms)
* (v4) Bug fixed: now checking if total_processors is 1 (first access) to start StartProcessors
* (v3) Performance: new child type (CHILD_TYPE_RESERVED) to avoid collision (2 childs trying to get the same free slot)
* (v3) Bug fixed: fixed a bug in RC2, wait_timeout was always 0, never sleeping to wait for new workers.
* (v2) Performance: StartProcessors, new configuration directive to control the number of child processors per vhost at startup
* (v2) Performance: childs are started in ~50ms, 20 times faster than in RC2 (~1000ms)
* (v1) Performance: faster to lookup for free slots (this is important on busy servers, with many virtual hosts)
* (v1) Performance: faster to count processors, one single loop counts all processors
* (v1) Bug fixed: bug when MinSpareProcessors is set to 0 (now all workers processes are killed when idle_timeout is reached)
* (v1) Bug fixed: Free-up slots when a WORKER or PROCESSOR unexpectedly dies

Download:

Patch from RC2:
http://opensource.mco2.net/download/apache/peruser/peruser-rc2-to-rc3-v6.patch

Full patch from vanilla Apache 2.2.17:
http://opensource.mco2.net/download/apache/peruser/peruser-rc3-full-v6.patch


--
Marcelo Coelho
marcelo at mco2.com.br


More information about the Peruser mailing list