[rrd-developers] [PATCH] rrdcached can detect (most) stale PID files

Bernard Li bernard at vanhpc.org
Tue Oct 14 20:36:20 CEST 2008


Hi Kevin:

On Tue, Oct 14, 2008 at 11:03 AM, kevin brintnall <kbrint at rufus.net> wrote:

> Under most circumstances, rrdcached can detect a stale pid file.
>
> If the process in the pid file does not exist, or cannot be signalled by
> the rrdcached owner, then rrdcached will replace the pid file and start
> normally.  Otherwise, it will complain verbosely to STDERR.

With the current init script for rrdcached, I have added code to
cleanup the pidfile.  WIth your patch, is this no longer necessary?

http://oss.oetiker.ch/rrdtool-trac/browser/trunk/program/etc/rrdcached-init

Thanks,

Bernard



More information about the rrd-developers mailing list