Process ID when called from PerlChildInitHandler

2007-07-24 Thread Gatsby
Hi all, I've got a module which I call from PerlChildInitHandler to obviously run on creation of each child process. I have a seperate problem which I'm trying to track down, and in doing so, it would be really helpful if I could carp the process ID of the child process during part of this handl

Re: Process ID when called from PerlChildInitHandler

2007-07-24 Thread Torsten Foertsch
On Tuesday 24 July 2007 11:21, Gatsby wrote: > The problem is, if I output $$, then it only ever outputs the process ID of > the parent httpd process, not the actual child process itself. This is a known feature (at least I have already met it). It is caused by apache doing the fork by itself in