Forgot to answer this part.
> > This new model (actually the original threaded model for Apache 2.0)
> > allows us to actually finish fixing graceful restarts in the threaded
> > MPM. The current model makes it impossible to cleanly shut down threads
> > that are sitting in locks, so gracefully shutting down a child process is
> > not currently possible.
>
> Which locks are problematic now for graceful restart? Which locks are
> no longer problematic?
The accept mutex is a problem. Since there will only be one thread in the
accept_mutex,
that issue goes away. Instead, the workers are all sitting in a condition variable,
which we
simply broadcast a message for.
> I thought it was non-graceful stop/restart we didn't know how to do.
I don't understand why that could be an issue. For a non-graceful, just do the
following
in the signal thread
ap_clean_child_exit();
This attempts to clean up, and it kills off everything. Since the signal thread is
always the
original thread from the process, this should kill off all other threads as well.
Ryan
_____________________________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
Covalent Technologies [EMAIL PROTECTED]
-----------------------------------------------------------------------------