httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Clean shutdown on Windows
Date Fri, 29 Oct 2010 12:16:47 GMT
On Thu, Oct 28, 2010 at 2:18 PM, Jeff Trawick <trawick@gmail.com> wrote:
> On Tue, Oct 26, 2010 at 12:26 PM, Jeff Trawick <trawick@gmail.com> wrote:
>> The biggest problem here is potentially waiting a long time for a
>> specific child process before moving on to the next. That's
>> potentially 30 seconds * huge-number.  Also, I think it is worthwhile
>> setting up the code so that it is easy to tweak the sleeps and
>> actions, like the MPMs have.
>>
>> Look for ap_reclaim_child_processes() at
>> http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_unix.c?view=markup
>
> a lightly tested fix is attached

A different patch, more similar to previous behavior, has been
committed as r1028711.

The main changes in behavior are

* if app doesn't go away at first graceful shutdown, try again after
t0 + 1 second
* wait until t0 + 8 seconds before forceful shutdown

Mime
View raw message