httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: cvs commit: apache-1.3/src/main http_main.c
Date Wed, 17 Oct 2001 15:05:18 GMT
From: <stoddard@apache.org>
Sent: Wednesday, October 17, 2001 9:45 AM


> stoddard    01/10/17 07:45:30
> 
>   Modified:    src      CHANGES
>                src/main http_main.c
>   Log:
>   Win32: The Apache Win32 developers generally recommend that
>   MaxRequestsPerChild be set to 0 to prevent the child process
>   from ever recycling. However, for those that do require a
>   non-zero setting, this patch fixes a serious bug that can cause
>   an apparent 'server-hang' condition where the server stops
>   responding to requests for a period of time. Prior to this
>   fix, when the child process handled MaxRequestsPerChild
>   connnections, the child process would stop accepting new
>   connections and begin allowing inactive threads to exit. The
>   problem was that a new process would not be created to begin
>   handling requests until the old process fully exited. The old
>   process can take an indeterminate amount of time to exit because
>   it may be sending large responses to clients connected over slow
>   links, or it may have threads blocked in read awaiting requests
>   (eg, one attack mode of the Nimda worm is to establish a
>   connection to the server but not send an HTTP request. This
>   connection will be timed out according to the setting of the
>   Timeout directive, 300 seconds). This fix allows the new process
>   to be immediately started and begin accepting requests when the
>   old child process reaches MaxRequestsPerChild.

WooHoo!!!  Way to go Bill!

[Isn't this just a little wordy for a CHANGES entry, though ;-?]



Mime
View raw message