[pcp] pmlc handshake timeout needed?

Nathan Scott nscott at aconex.com
Mon Nov 23 00:41:06 CST 2009


----- "Ken McDonell" <kenj at internode.on.net> 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



More information about the pcp mailing list