Bug 488013 - ldirectord leaves checker children behind when stopping
Summary: ldirectord leaves checker children behind when stopping
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ipvsadm
Version: 5.2
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-02 07:02 UTC by vdla7600
Modified: 2009-04-16 22:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-02 12:44:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch for ldirectord (564 bytes, patch)
2009-03-02 07:02 UTC, vdla7600
no flags Details | Diff

Description vdla7600 2009-03-02 07:02:17 UTC
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):
heartbeat-ldirectod-2.1.3-3

How reproducible:
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

Actual results:
ldirectord child processes are left behind, with init (process 1) as a parent.

Expected results:
child processes should exit when the ldirectord is stopped by heartbeat

Additional info:
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.

Comment 1 Marek Grac 2009-03-02 12:44:15 UTC
ldirectord is a product of Novell/SuSe :)


Note You need to log in before you can comment on or make changes to this bug.