At 02:08 PM 6/7/2005, Mladen Turk wrote:

>It works of course, but IIRC you are planning to use it for
>reconfiguring mod_jk. I think you might get into the problems
>with shared memory (particularly on unix) because some child
>might have a different idea about shared memory addresses.

Oh - so this is a bug/design flaw in mod_jk?  Does the same
affect the prefork/worker MPMs?

One aspect is inheritance of handles (e.g. handle to SHM
segment).  I've always ment to make that more generic, and it
would be nice to solve for Apache 2.2.  It's used now to hand
of the score and listener handles from the parent to child.

The trivial solution is to use an anon segment which Win32 will
not inherit, which means that SHM is unique to a single generation,
and won't be polluted by changes in another worker.

This does sound like a good use case, though, for handing off
memory segments, mutexes and so forth to child processes.  With
a pointer or two, I'll be happy to look at it.

Bill  


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to