LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Ldirector/MySQL -> Memory Leak

To: Pamcho <pamcho@xxxxxxxxxxx>
Subject: Re: Ldirector/MySQL -> Memory Leak
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 11:56:05 +0900
On Wed, Feb 07, 2007 at 12:41:53PM +0100, Pamcho wrote:
> 
> 
>       Hello all!
> 
>       I have a MySQL Load Balacer with ldirectord. Here my config file:
> 
> 
> =====================
> # Global Directives
> checktimeout=10
> checkinterval=2
> autoreload=no
> logfile="/var/log/ldirectord.log"
> #logfile="local0"
> quiescent=no
> 
> virtual = 192.168.0.9:3306
>         service = mysql
>         real = 192.168.0.2:3306 gate
>         real = 192.168.0.3:3306 gate
>         checktype = negotiate
>         login = "ldirector"
>         passwd = "*****"
>         database = "ldirectordb"
>         request = "SELECT * FROM connectioncheck"
>         scheduler = wrr
> =================
> 
> 
>       And it works fine, but I can see that the memory used by the
> ldirector process grows linearly, until crash the server some days
> after...

That is certainly not good. Is there any chance that you could
test a newer ldirectord to see if the problem has already been
resolved? The one shipped in the linux-ha (heartbeat) 2.6.8 
tarball should be the latest.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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