pcp
[Top] [All Lists]

[PATCH] fix pmcd agent vs empty /var/tmp/pmie

To: Michael Newton <kimbrr@xxxxxxxxxxxxxxxxx>
Subject: [PATCH] fix pmcd agent vs empty /var/tmp/pmie
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 19 Mar 2007 17:02:31 +1100
Cc: pcp@xxxxxxxxxxx
Organization: Aconex
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Hi,

There's a problem with the pmcd PMDA's handling of the /var/tmp/pmie
directory.  Currently, if that directory disappears entirely (which
the "/etc/init.d/pmie stop" mechanism tends to do), then the change
to the instance domain is not properly detected in the pmcd PMDA, and
it continues to export values for the no-longer-running pmies.  This
fixes that by also updating the indom on stat(2) failure.

cheers.

-- 
Nathan

Attachment: fix-pmie-empty-instance
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix pmcd agent vs empty /var/tmp/pmie, Nathan Scott <=