[Linux-ha-dev] OCF RA for rsync daemon Active-Passive setup
lmb at suse.de
Thu Oct 26 15:48:40 MDT 2006
On 2006-10-26T10:49:14, Thomas Guyot-Sionnest <Thomas at zango.com> wrote:
> kill -0 <PID> 2>/dev/null
> It won't allow you to make sure the pid is not taken my another process, but
> that's a fairly small risk.
pid wrap-around is a rather real risk, in particular when you're about
to kill the process id. ;-)
> It can be mitigated by either mounting $HA_VARRUNDIR/rsctmp as tmpfs
> or removing these files on bootup before starting heartbeat.
The directory is cleaned out by the init script anyway.
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
More information about the Linux-HA-Dev