This is a discussion on memory leak when sending v2 traps within the SNMP Users forums, part of the Networking and Network Related category; There seems to be a memory leak in the code for sending snmp v2 traps. I have a few traps ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
There seems to be a memory leak in the code for sending snmp v2 traps.
I have a few traps that are sent many times a minute in certain situations and when those traps are being sent frequently the memory footprint of net-snmp gets larger and larger. within the code for sending my trap, if I comment out the call to "send_v2trap" within my "send_xxxx_trap()" function, the memory leak goes away. I tried searching through the calls to find where the leak is but I got lost in the inner-workings of net-snmp and couldn't figure it out. Has anyone noticed this memory leak and figured out how to plug it? my program will have to run for long periods of time and send many, many traps in the process... so this is a major problem for me. any information will be helpful. Thanks in advance. -- --David Loibl davejl@gmail.com 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-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
|
|||
|
Hello David,
yes, I have defintilythe same problem. Look to my posting from friday. Problem: traps inrease memory consumtion on runtime http://groups.google.com/group/maili...2075ca9db6eff6 Regards Heiko "David Loibl" schrieb: > There seems to be a memory leak in the code for sending snmp v2 traps. > I have a few traps that are sent many times a minute in certain > situations and when those traps are being sent frequently the memory > footprint of net-snmp gets larger and larger. within the code for > sending my trap, if I comment out the call to "send_v2trap" within my > "send_xxxx_trap()" function, the memory leak goes away. I tried > searching through the calls to find where the leak is but I got lost > in the inner-workings of net-snmp and couldn't figure it out. Has > anyone noticed this memory leak and figured out how to plug it? > > my program will have to run for long periods of time and send many, > many traps in the process... so this is a major problem for me. > > any information will be helpful. > > Thanks in advance. > -- > --David Loibl > davejl@gmail.com > > 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-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/...net-snmp-users |