On 4/18/07, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> John_Nowlan wrote:
> > I do the following, and then get the following loop until I ctl-c it, is
> > this a bug or am I doing something stupid?
> >
> > {x:174} paster serve --daemon --monitor-restart development.ini
> > Starting subprocess with monitor parent
> > Entering daemon mode
> > -------------------- Restarting --------------------
> > Entering daemon mode
> > -------------------- Restarting --------------------
> > Entering daemon mode
> > -------------------- Restarting --------------------
> > Entering daemon mode
> > -------------------- Restarting --------------------
> > ^C^C caught in monitor process
> > {x:175}
>
> Ah, I see... the daemonizing happens after the monitor, not before the
> monitor.  So as far as the monitor is concerned, the subprocess is
> constantly dying (since during daemonization the subprocess spawns
> another process then dies).  Daemonizing should happen before the
> monitor process.
>
> I'm having problems with monitor anyway, I'm going to have to look at it
> more closely (killing the monitor currently doesn't kill the subprocess).

My buddy, Kelly Yancey, is a rock start at this kind of stuff ;)  I
know he's thinking of using Paste, so I'll cc him.

Best Regards,
-jj

-- 
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to