On Thu, May 24, 2007 at 03:27:54PM -0400, Brian Reichert wrote:
> I found a different place, where a different sort of check for
> stale PIDs is failing for me, again after repeated reboots.
> 
> In lib/clplumbing/cl_pidfile.c::DoLock() 
> 
> We read in the contents of a [stale] pid file (in my case, it's
> again heartbeat.pid), and make various tests.  If the stale pid
> file describes:
> - a valid-looking pid
> - is not 'my' pid
> - but now exists
> we all come tumbling down.

Does anyone know why DoLock doesn't use cl_read_pidfile()?  I'm
trying to corner the utilization of the contents of heartbeat.pid
into one place, but there's differing logic everywhere...

-- 
Brian Reichert                          <[EMAIL PROTECTED]>
55 Crystal Ave. #286                    Daytime number: (603) 434-6842
Derry NH 03038-1725 USA                 BSD admin/developer at large    
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to