[Linux-HA] issue with management of heartbeat.pid file
Andrew Beekhof
beekhof at gmail.com
Thu May 24 04:05:50 MDT 2007
On 5/24/07, Kevin Jamieson <kevin at kevinjamieson.com> wrote:
> Brian Reichert wrote:
>
> > What I tracked down was that if the box powered down too quickly
> > for heartbeat to clean up, a PID file was left in place:
> >
> > ...
> >
> > But, there's no check to assure the recorded PID is not stale.
> >
> > Have others seen this? This code seems to be in 2.0.8 as well...
>
> FYI, I filed a bug on this a few months back:
>
> http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1454
>
> There's a patch attached to that bug that worked for us (although the
> patch is Linux-specific, so may not be ideal).
I took a few moments to modify the patch so that non-linux systems dont break.
Will commit momentarily.
>
> Kevin
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list