pcp
[Top] [All Lists]

Re: pmnewlog quirk

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: pmnewlog quirk
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 02 Mar 2009 22:25:29 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1235975884.8537.7.camel@bozo>
References: <1235961800.4257.41.camel@xxxxxxxxxxxxxxxxxx> <1235975884.8537.7.camel@bozo>
On Mon, 2009-03-02 at 17:38 +1100, Ken McDonell wrote:
> INT then HUP then KILL is sort of in order of increasing urgency for
> apps in general ... I don't think this was ever tailored for pmlogger.
> 
> HUP should not be there for pmlogger.

OK, thanks.

> The only flushing is stdio buffer flushing ... if this will safely get
> done on exit in all environments, then you don't need USR1, as INT and
> KILL will suffice.  If that is not the case, the order USR1, INT and
> KILL you suggest would be correct.

I'll go with that then - better to be safe than sorry.

cheers.

--
Nathan

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