[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1558823 ] ipAddressTable memory leak;
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-12-06 15:09:28
Message-ID: E1GryOm-0002Dk-Ta () sc8-sf-web11 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1558823, was opened at 2006-09-14 14:31
Message generated for change (Comment added) made by rstory
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1558823&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: agent
Group: linux
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Roy-Magne Mo (gaupe)
Assigned to: Robert Story (rstory)
>Summary: ipAddressTable memory leak; related to vlan-interfaces?

Initial Comment:
Fedora Core 5 i386
Linux kernel 2.6.16-1.2133_FC5smp
net-snmp-5.3.1.0-6 (recompiled last package from rawhide)
net-snmp recompiled without optimization.

This machine is used as a router with about 20 vlan
interfaces. snmpd binds to a address connected to
lo-interface which is announced through OSPF with quagga.

snmpd leaks memory, within a month the process can grow
up to 800-900M before I have to kill it. On FC5 servers
without vlan-interfaces, snmpd can run for months and
still be 20M of memory size.

I've run snmpd through valgrind for 5-6 hours and it
complains over memory allocation error. I'm attaching
that log.



----------------------------------------------------------------------

>Comment By: Robert Story (rstory)
Date: 2006-12-06 10:09

Message:
Logged In: YES 
user_id=76148
Originator: NO

patch applied for 5.3.2, 5.4.1 and later.
moved to pending, close if reporter confirms fixes.

----------------------------------------------------------------------

Comment By: Robert Story (rstory)
Date: 2006-12-06 09:52

Message:
Logged In: YES 
user_id=76148
Originator: NO

gaupe, can you also try the patch here:

http://sourceforge.net/tracker/index.php?func=detail&aid=1596638&group_id=12694&atid=112694

And once you have both these applied, run again with valgrind and attach
the results (or come find me in #net-snmp on chat.freenode.net).

Thanks!

----------------------------------------------------------------------

Comment By: Roy-Magne Mo (gaupe)
Date: 2006-11-29 05:29

Message:
Logged In: YES 
user_id=390568
Originator: YES

Seems like I'm still having leakage, the process grew to 43M in a day.

Whould a new output and/or upgrading to 5.4 be helpful? 

----------------------------------------------------------------------

Comment By: Roy-Magne Mo (gaupe)
Date: 2006-11-28 07:25

Message:
Logged In: YES 
user_id=390568
Originator: YES

I've applied this against 5.3.1 and compiled it, will try running it for a
couple of days and see how this behaves. 

----------------------------------------------------------------------

Comment By: Robert Story (rstory)
Date: 2006-11-27 13:43

Message:
Logged In: YES 
user_id=76148
Originator: NO

Can you try the attached patch?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1558823&group_id=12694

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic