On Tue, 19 Feb 2008, j.chitte wrote:
>
> Ahh!
>
> init-+-adc_logger
> +-apache-ssl-+-apache-ssl---post.cgi
> | +-5*[apache-ssl]
> | +-gcache
>
> looks like adc_logger is detatching correctly but it's the cgi that's
> not terminating. If I kill adc_logger post.cgi finally goes away.
>
>
> just after starting the logger post closes the HTML output and exits.
>
> printf(backBtn);
> printf("</BODY></HTML>\n\n");
> fflush(stdout);
> exit (0);
> } /* end main */
>
> I suppose I could detatch post as well but I dont really see why that
> should be necessary.
>
> can you see why it's still live?
What's your code that fires off adc_logger? If its a simple system call
then maybe using "nohup adc_logger .....&" might work? I'm clutching at
straws here.
I'm guessing that somewhere one of the processes knows it had a child
process somewhere, and is waiting for it to terminate. This can all get a
bit messy when mixing shells, scripts and "real" code.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|