On Mon, 18 Feb 2008, j.chitte wrote:
> --- In Jim Jackson <> wrote:
>
>> The programs you start in the background, are still children of apache,
>> and it is probably being too parental :-)
>>
>> Really they need to "daemon"ise themselves, so that apache can forget
>> about them. You may want to further mod adc_logger to call the daemon
>> function if called with a certain flag.
>>
>
> Well that sounded so much like the right answer.
>
> But it did not change the flow at the end of the day.
>
> I call daemon before entering the sampling loop and check it's return
> value is zero.
Have you run pstree to discover if your program has init as it's parent
instead of apache? Just to double check.
Sorry but I'm fresh out of ideas now.
> However , on the browser end it remains the same. I have an onload
> event handler defined to pop an alert(), so I can confirm that even
> with the deamon call the browser is still waiting on something until
> I either killall adc_logger or it finishes its business in a finite
> run.
>
> Most annoying.
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/
|