Re: Re: cleanup_for_exec() v/s spawn_proc_prog()

2010-05-03 Thread israel . leiva
> Hi Israel, Hi Michael, > > I haven't used this but it looks like $r->cleanup_for_exec is used, in > the child once forked, to close the socket connecting Apache and the > client, failing which the child will hold on to the socket as long as > it runs, which will prevent Apache from reclaiming t

Re: cleanup_for_exec() v/s spawn_proc_prog()

2010-05-02 Thread Michael Ludwig
Hi Israel, israel.le...@alumnos.inf.utfsm.cl schrieb am 01.05.2010 um 15:35:19 (-0400): > I was just reading about Apache::SubProcess [1] because I wanted to do > something like [2] . But now with Apache2::SubProcess I'm a little bit > confused with the idea of spawn_proc_prog() . I will really a

cleanup_for_exec() v/s spawn_proc_prog()

2010-05-01 Thread israel . leiva
Hi, I was just reading about Apache::SubProcess [1] because I wanted to do something like [2] . But now with Apache2::SubProcess I'm a little bit confused with the idea of spawn_proc_prog() . I will really appreciate if someone could explain me the differences between cleanup_for_exec() and spawn_