C2 General

> -----Ursprüngliche Nachricht-----
> Von: Yann Ylavic <ylavic....@gmail.com>
> Gesendet: Mittwoch, 25. September 2019 15:10
> An: httpd-dev <dev@httpd.apache.org>
> Betreff: Re: clean_child_exit and watchdog threads
> 
> On Wed, Sep 25, 2019 at 3:07 PM Stefan Eissing
> <stefan.eiss...@greenbytes.de> wrote:
> >
> > Hmm, far less likely, but still:
> 
> Likewise, I think the MPMs themselves shouldn't use pchild for their
> internal allocations possibly still in use at exit().
> So v2 (attached) may be the thing..

Hm, haven't checked, but aren't there any cleanups that should run and
currently run before exit that will not run any longer when we tie
stuff to pconf instead of pchild?
I guess pure allocations are not a problem, since the process dies,
but I would be a little worried about other OS resources like
shared memory or locks not being cleaned up properly.
Regarding the watchdog threads I guess we could handle this
like Stefan suggested by handling it similar to still running connections.
Give them a grace period and kill them afterwards during regular shutdown.
For an immediate shutdown kill them off directly.

Regards

Rüdiger

Reply via email to