httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janovsky <peterjanov...@yahoo.com>
Subject Re: module configuration kill
Date Wed, 12 Jan 2011 19:24:36 GMT
is it possible to hook into an event fired when the workers are shutdown, if so 
how?  basically i am interested in the cleanup process modules enter when their 
associated worker threads either crash or are stopped/restarted.



________________________________
From: Nick Kew <niq@apache.org>
To: modules-dev@httpd.apache.org
Sent: Mon, January 10, 2011 6:43:42 PM
Subject: Re: module configuration kill

On Mon, 10 Jan 2011 14:16:43 -0800 (PST)
Peter Janovsky <peterjanovsky@yahoo.com> wrote:

> how do i go about preserving variable state specific to the individual worker?

On a restart, the old pools are cleaned up before reinitialisation starts.
So in your cleanups, you can reset any variables that need reinitialising
from a virgin state.

-- 
Nick Kew

Available for work, contract or permanent.
http://www.webthing.com/~nick/cv.html



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message