httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McQueen" <>
Subject pre-fork hook
Date Wed, 11 Oct 2006 16:36:23 GMT
Related to the other thread.  I don't see a hook that can be used to
get something going before the fork.  How can I get the server to do
something for me before the fork?  I think I can do what I need from
the children by getting the parent_process and using its pool, but I'd
like to do it only once, and have it stored where the children can get
at it, like having a ptr in each server config to the shm location.
BTW its already using shm and semaphores, but its outside of Apache.
I'd like to move it to within Apache to eliminate a clumsy external
dependency.  I'd like the shm init stuff to occur once, when the
server  starts, and before any children are forked.

Brian McQueen

View raw message