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

To: " 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:


Nick Chalk. Ltd.
Phone: +44 (0)870 443 8779

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

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to
<Prev in Thread] Current Thread [Next in Thread>