[peruser] Patch for busy servers

Dave Steinberg dave-peruser at redterror.net
Tue Jan 4 15:05:05 MST 2011


On 1/4/2011 3:12 PM, Marcelo Coelho wrote:
> 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

Hi Marcelo - I'm still seeing the "long lost child came home!" error 
after a graceful restart.  I'll attempt to debug this further tonight, 
just wanted to let you know that there may be another bug lurking.

Regards,
-- 
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/
http://www.redterror.net/


More information about the Peruser mailing list