LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS - NET SNMP Memory Leak

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS - NET SNMP Memory Leak
Cc: Supportlist <supportlist@xxxxxxxxxxxxxxxx>
From: Nick Chalk <nick@xxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 12:53:56 +0100
Hello Joe.

On 27 April 2010 17:58, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
> On Tue, 27 Apr 2010, Mark Brooks wrote:
>> Does anyone still maintain the LVS SNMP module
> I forget the original author, and the code has been passed
> from one person to another. If it needs fixing, you'll
> probably have to do it yourself. If you do make changes, can
> you pass them along to at least me, so that they're
> available for the next person?

Attached is a patch for the LVS net-snmp module which appears to fix
the memory leak we were seeing. It's still under test, but results
look good so far.

It's a very simple fix, but in testing we were seeing 400 bytes lost
per snmpwalk.

There's another memory leak in net-snmp v5.5 itself - that's fixed by
applying this patch:
   
http://sourceforge.net/tracker/index.php?func=detail&aid=2871747&group_id=12694&atid=312694

Nick.

-- 
Nick Chalk.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

Attachment: net-snmp-lvs-module-0.0.4-leak_fix.patch
Description: Text Data

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>