On Sep 15, 11:54*am, "++imanshu" <himanshu.g...@gmail.com> wrote:
> Hi,
>
> * * *I have a mod_perl enabled Apache installation. When I start
> Apache and print the process id in the PerlHandler I see a process id
> 14394.
>
> * * *However none of the httpd processes that run in the end have this
> id :-
>
> % ps -ef | grep httpd | grep hgarg
> hgarg * *14416 * * 1 *0 23:48 ? * * * *00:00:00 httpd -f /home/hgarg/
> httpd.conf -DSYSTEST -DDEV
> hgarg * *14417 14416 *0 23:48 ? * * * *00:00:00 httpd -f /home/hgarg/
> httpd.conf -DSYSTEST -DDEV
> hgarg * *14418 14416 *0 23:48 ? * * * *00:00:00 httpd -f /home/hgarg/
> httpd.conf -DSYSTEST -DDEV
>
> * * *I tried an strace but couldn't get the exact process tree of the
> processes. Also pstree didn't help because in the end 14394 doesn't
> exist. I am trying to understand the relationship of 14394 to the rest
> and the flow that leads to the latter. Please help.
>
> Thanks,
> ++imanshu
The process tree looks like this :-
xterm(14099) --- tcsh(14101) --- httpd(14394) --- perl(1439
And a little later :-
httpd(14416)+--httpd(14417)
|--httpd(1441
Why is a new perl interpreter (1439

started. Isn't it built into
httpd with mod_perl? And why does httpd(14394) die?
Thanks,
++imanshu