Re: ldirectord memory leak in Ultramonkey 3

Joseph Miller <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Glen Kendell wrote on 22/11/05 17:57:
> I think the idea should be to figure out if what you are seeing is really a
> memory leak or just normal memory management.  So you will need to do a
> little testing to help out in that regard.
> 
> Add the -d switch to ldirectord to get debugging output.  Stop heartbeat on
> the director (or both if you are running two) and then launch ldirectord
> interactively on one director so you can see the output.

Finally got a test environment set up. Unfortunately, we don't seem to be able to reproduce the 
problem on the test servers - they work perfectly.. so we swapped out one of the test servers for a 
production one, and the production one is still exhibiting the leak.

It appears that the leak just occurs over time - seems to be unaffected regardless of whether 
ldirectord is routing traffic or not.. the software set up is the same, which makes us wonder if 
maybe some sort of hardware issue at play...

Anyway, below are links to a debug log of 1) the production server which is showing the leak, and 2) 
a test server (set up the same) which is not. Personally I can't see much that's different, but a 
more trained eye might spot something.

1) http://asuka.googlehax.com/ldirectord-leaking-stderr.txt
2) http://asuka.googlehax.com/ldirectord-noleak-stderr.txt


> 
> On 11/21/05 1:57 PM, "Joseph Miller" <[email protected]> wrote:
> 
>> Hi Glen,
>>
>> Glen Kendell wrote:
>>> Out of curiosity, are you seeing anything in your log or debug log files?
>> I can't see anything unusual in the log files.. how do you turn on debug
>> logging?
>>
>>> What versions of the other UM packages do you have in place?
>> director2:~# uname -a
>> Linux director2 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux
>>
>> Version numbers from dpkg -p <package name>
>> ultramonkey 3-1um.1
>> heartbeat 1.2.3.cvs.20050927-1bpo1
>> ldirectord 1.2.3.cvs.20050927-1bpo1
>> iproute  20041019-3
>> ipvsadm  1.24+1.21-1
>>
>>


-- 
Thanks,
Joseph Miller
Application Developer
_________________________________________
http://www.securepaytech.com/
Secure Payment Technologies
Online Credit Card Transaction Processing
Phone: (64 3) 961 9555
Email: [email protected]

PLEASE NOTE: The information contained in this email message and any attached files may be 
confidential and subject to privilege. The views expressed may not necessarily be the official view 
of Secure Pay Tech Limited. All technical advice and opinions are offered on a 'no-liability' basis. 
If you are not the intended recipient, you are notified that any use, disclosure or copying of this 
email is unauthorised. If you have received this email in error, please notify us immediately by 
reply email and delete the original. Thank you.


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.