ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: adc_logger from apache

To:
Subject: Re: [ts-7000] Re: adc_logger from apache
From: Jim Jackson <>
Date: Mon, 18 Feb 2008 21:25:54 +0000 (GMT)


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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU