RE: snmpd memory leak on snmpbulkget

This is a discussion on RE: snmpd memory leak on snmpbulkget within the SNMP Coders forums, part of the Networking and Network Related category; More detail on test: If I send snmpbulkget for querying 60 OIDs ONCE: memory to 8000+K; If I send ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2006
Fong Tsui
 
Posts: n/a
Default RE: snmpd memory leak on snmpbulkget

More detail on test:
If I send snmpbulkget for querying 60 OIDs ONCE: memory to 8000+K;
If I send snmpbulkget for querying 60 OIDs TWICE continuously, memory
grows to 10M+.
If I send snmpbulkget for querying 60 OIDs THRESS times continuously,
memory grows to 12M+.
.....
.....

Hope somebody can point me a direction.

Thanks.

-----Original Message-----
From: Fong Tsui
Sent: Sunday, July 16, 2006 1:43 PM
To: Fong Tsui; net-snmp-coders@lists.sourceforge.net
Subject: RE: snmpd memory leak on snmpbulkget

I did more test and found out that it is not leak. It is a problem when
doing stress test, continuously calling snmpbulkget on random OIDs,
snmpd memory keeps growing, no-limit, and eventually freezes the system.
(It also causes sub-agent memory grows). However, once I stop sending
query bulk command, snmpd slowly gets back to its normal memory.

For example, in one case, if I send snmpbulkget for querying 60 OIDs,
the memory grows to 10M+. The memory will get back to normal once the
query request is processed.

It seems cache for bulkget data has no limits?
Is that a known issue? Where should I look into in the code?


-----Original Message-----
From: net-snmp-coders-bounces@lists.sourceforge.net
[mailto:net-snmp-coders-bounces@lists.sourceforge.net] On Behalf Of Fong
Tsui
Sent: Friday, July 14, 2006 6:56 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: snmpd memory leak on snmpbulkget

Hi,

I am hitting a case that when doing snmpbulkget in a loop for stress
testing, snmpd increases memory dramatically. For the same situation,
snmpwalk/snmpget/snmpbulkwalk all work fine. Only snmpbulkget leaks
memory.

Does anybody have the same experience? Any fix patch for it? or can
anybody point out where I should look into in the code?

I am running 5.0.9 version and at this moment, it's hard for us to
upgrade to newer version. So, I hope to I can find a way to fix it. Any
information is appreciated.


Thanks,

FT




------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0