memory problem after sending trap

This is a discussion on memory problem after sending trap within the SNMP Coders forums, part of the Networking and Network Related category; --===============1899973956== Content-Type: multipart/alternative; boundary="----=_Part_5871_16766205.1198603162765" ------=_Part_5871_16766205.1198603162765 Content-Type: text/plain; charset=ISO-8859-1 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-25-2007
slah klifi
 
Posts: n/a
Default memory problem after sending trap

--===============1899973956==
Content-Type: multipart/alternative;
boundary="----=_Part_5871_16766205.1198603162765"

------=_Part_5871_16766205.1198603162765
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

while using send_v2trap() api in net-snmp 5.3.0.1- memory size increased by
40K for each
trap sent till it reaches 21 MB and no increase after that.
snmp_free_varbind is called in our code after send_v2trap().

when we comment send_v2trap() the memory don't increase i think that the
pdu isn't free ????

------=_Part_5871_16766205.1198603162765
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

while using send_v2trap() api in net-snmp 5.3.0.1- memory size increased by 40K for each <br>trap sent till it reaches 21 MB and no increase after that.<br>snmp_free_varbind is called in our code after send_v2trap().<br><br>

when&nbsp; we comment send_v2trap() the memory don't increase i think that the pdu isn't free ????

------=_Part_5871_16766205.1198603162765--


--===============1899973956==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1899973956==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============1899973956==--

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 12:50 AM.


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