httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bp...@pacbell.net>
Subject Re: reason for the segfaults during graceful shutdown of worker MPM
Date Mon, 14 Jan 2002 01:39:12 GMT
Greg Stein wrote:

>On Sat, Jan 12, 2002 at 09:25:30AM -0800, Brian Pane wrote:
>
>>Greg Stein wrote:
>>...
>>
>>>null parents are ugly. isn't there another pool that has the right lifetime
>>>for that pool?
>>>
>>There isn't a pool with the right lifetime in the current
>>worker design.  The safe pool to use as the parent would be
>>the worker thread's pool, but the listener thread doesn't
>>have a way to use that pool for the accept.  In Aaron's
>>...
>>
>
>No overall MPM pool? Or an apache global pool? Anything...?  :-)
>

Those wouldn't work because they're shared across threads, so
there would be a race condition during shutdown where a worker
thread was still using the transaction pool while the pool was
being destroyed as a side-effect of its parent being destroyed.

--Brian




Mime
View raw message