LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: ldirectord stopped suddenly

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: ldirectord stopped suddenly
From: "Leon Keijser" <errtu@xxxxxxx>
Date: Fri, 2 Dec 2005 08:44:15 +0100 (MET)
Horms,

>ldirectord -d ...
>
>If you are having problems with ldirectord crashing, then that is a
>problem.
>I'd be very welcome of any information you can provide to help track
>down the cause. 

I've ran ldirectord in debug mode (from command line), on the test-lvs setup
and found this when i looked this morning:

DEBUG3: Activated service 192.168.50.17:3389
DEBUG2: Checking connect: real
server=connect:tcp:192.168.50.18:3389:3389:1:\/:
(virtual=tcp:192.168.51.200:3389)
DEBUG3: Connected to  (port 3389)
DEBUG2: Enabled server=192.168.50.18
DEBUG3: Activated service 192.168.50.18:3389
DEBUG2: Checking connect: real
server=connect:tcp:192.168.50.121:1494:1494:1:\/:
(virtual=tcp:192.168.51.201:1494)
DEBUG3: Connected to  (port 1494)
DEBUG2: Enabled server=192.168.50.121
DEBUG3: Activated service 192.168.50.121:1494
DEBUG2: Checking connect: real
server=connect:tcp:192.168.50.122:1494:1494:1:\/:
(virtual=tcp:192.168.51.201:1494)
DEBUG2: Disabled server=192.168.50.122
DEBUG3: Deactivated service 192.168.50.122:1494: Died at
/usr/sbin/ldirectord line 2043.
DEBUG2: Checking negotiate: real
server=negotiate:none:tcp:127.0.0.1:22::1:\/:
(virtual=tcp:192.168.51.203:22)
DEBUG2: Checking none
DEBUG2: Enabled server=127.0.0.1
/etc/init.d/ldirectord: line 59: 21478 Alarm clock             $@
rpzlvstest01 root #


Now yesterday i've seen this line as well:

DEBUG3: Deactivated service 192.168.50.122:1494: Died at
/usr/sbin/ldirectord line 2043.

But sometimes this 'died' is replaced by 'Timeout alarm' and a different
line number. I dunno but the word 'died' kinda worries me. But since
ldirectord didn't in fact die, but kept running happily all day long, i let
it go.

Starting the ldirectord again the next morning restores the last server
(50.17). Right now i made a little script to check if ldirectord is running
at 4:00am (1 hour after the last scheduled server reboot, and 1 hour after
ldirectord apparently stopped/crashed/died).


Léon

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner

<Prev in Thread] Current Thread [Next in Thread>