LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Ldirectord - unexpected crashes

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Ldirectord - unexpected crashes
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Mon, 13 Nov 2006 09:41:55 +0100
There have been a number of updates since 1.77.2.45.
Could you please try 1.186, which is available at
http://www.vergenet.net/linux/ldirectord/download/ldirectord.1.186

Massive :). I should bug the debian maintainer of ldirectord to upgrade it:

# apt-cache show ldirectord
Package: ldirectord
Priority: optional
Section: universe/admin
Installed-Size: 216
Maintainer: Simon Horman <horms@xxxxxxxxxx>
Architecture: all
Source: heartbeat
Version: 1.2.4-14build1
Depends: perl, ipvsadm, libcrypt-ssleay-perl, libdbi-perl, libdigest-hmac-perl, libdigest-md5-perl, libmail-imapclient-perl, libmailtools-perl, libnet-dns-perl, libnet-ldap-perl, libnet-perl, libwww-perl
Recommends: sysklogd | syslog-ng, logrotate
Filename: pool/universe/h/heartbeat/ldirectord_1.2.4-14build1_all.deb
Size: 53878
MD5sum: 1fd5e8f4c4acb0ae7fea65550f718014
SHA1: 8670458d4d9cb92aea7fc40fb47a2eb24b4e877f
SHA256: c0799dfaa916553267a41c85fd87b0df5a6d06eb8e891a04b013400c496129b2
Description: Monitors virtual services provided by LVS
  ldirectord is a stand-alone daemon to monitor services of real
  for virtual services provided by The Linux Virtual Server (LVS).
  and works with Linux-HA's heartbeat package.
Python-Version: current
Bugs: mailto:ubuntu-users@xxxxxxxxxxxxxxxx
Origin: Ubuntu

Or maybe the ubuntu maintainer ...

I cannot provide you with an answer because I'm don't know enough about ldirectord. What I'm wondering is, why it was changed, when the old code worked (don't tell me because forking was too heavy)? Also why wasn't something like the libcurl used for this? I'm not a seasoned perl-monger, so this could be an extremely stupid question.

The code was changed because the SSL library that is used seems to have
a memory leak in it somewhere. I have never been able to find it. But by
having a short-lived child process the effects of the leak are negated

An often used trick, indeed. And I can imagine that valgrinding it would be extremely tedious and might not even expose it.

Cheers mate,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

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