pcp
[Top] [All Lists]

Re: pmlc handshake timeout needed?

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: pmlc handshake timeout needed?
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 23 Nov 2009 17:41:06 +1100 (EST)
Cc: pcp <pcp@xxxxxxxxxxx>
In-reply-to: <1258957780.3402.9.camel@xxxxxxxxxxxxxxxx>
----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:

> OK, that means /var/tmp/pmlogger is probably OK, and the pmlogger
> process still existed (else it would not accept the connection from
> pmlc and you'd never get to hang pmlc).
> 
> I thought it might be possible to get away with a new -w timeout
> option
> to pmlc, but they connection to the pmlogger involves a handshake
> protocol and one PDU from pmlogger to pmlc ... and this is buried in
> libpcp with no way to get a configurable timeout into the __pmGetPDU
> call.
> 
> So I think this means we need another environment variable, and I
> suggest $PMLOGGER_REQUEST_TIMEOUT.
> 
> Any objections or better suggestions?

That all sounds OK to me.

cheers.

-- 
Nathan

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