memory leak when sending v2 traps

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 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-07-2006
David Loibl
 
Posts: n/a
Default memory leak when sending v2 traps

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
Reply With Quote
  #2 (permalink)  
Old 07-09-2006
teimue
 
Posts: n/a
Default Re: memory leak when sending v2 traps

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 01:11 AM.


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