Red Hat Bugzilla – Bug 488013
ldirectord leaves checker children behind when stopping
Last modified: 2009-04-16 18:57:46 EDT
Created attachment 333689 [details]
patch for ldirectord
Description of problem:
We noticed that whenever the ldirectord node is switch from "primary" to "secondary", it leaves behind fork(2)'ed children which keep probing the real server, loading the real servers.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a hearbeat cluster with ldirectord.
2. configure ldirectord to monitor real servers via tcp (e.g. apache)
3. force take-over between the primary and the secondary heartbeat nodes
ldirectord child processes are left behind, with init (process 1) as a parent.
child processes should exit when the ldirectord is stopped by heartbeat
Attached is a simple patch. I'm not 100% it's the correct way to do it but it seems to work for us.
I use CentOS 5.2 on x86_64 xen DomU.
ldirectord is a product of Novell/SuSe :)