On Thu, 12 Apr 2007 18:36:36 +0530 Devi wrote:
DU> 1. while using send_v2trap() api - memory size increased by 40K for each
trap sent till it reaches 47 or 48 MB and no increase after that.
This is the agent keeping data for the notifiction log mib.
-
closed.
Should i change the logic ? how long a session can be kept open?
Thanx,
Devi.U
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tue 4/10/2007 10:19 AM
To: Devi U; [EMAIL PROTECTED]
Subject: RE: how to purify net-snmp code
Devi
S (WT01 - Broadband Networks);
net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Santhosh,
I have tried using session for sending traps.There was no increase in
memory usage for each trap sent. Thanx for ur kindly help.I have
hardcoded session variable for
From: Devi U
Sent: Fri 3/30/2007 8:18 PM
To: [EMAIL PROTECTED]; net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Santhosh,
Thanx for ur information and timely help.
I have uncommented and tested, even then 40K increase there
() is hit in gdb while sending the traps.
Thanx,
Devi.U
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Fri 3/30/2007 4:24 PM
To: Devi U; net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Devi,
Please find
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wed 3/14/2007 12:08 PM
To: Devi U; net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Devi,
After freeing varbind, usage should decrease; PDU is already
freed in netsnmp_send_traps() itself ( invo
led send_v2trap
#7 0xff15d940 in run_alarms () at snmp_alarm.c:251
Thanx,
Devi.U
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 3/14/2007 12:08 PM
To: Devi U; net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Devi,
M
To: SANTHOSH S (WT01 - Broadband Networks);
net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Santhosh,
Thanx for ur immediate response.
followed the same example - /examples/notification.c
snmp_free_varbind is called in our code after send_v2trap().
In top
> "DU" == Devi U <[EMAIL PROTECTED]> writes:
DU> Hi,
DU> Is it possible to purify the net-snmp code?
DU> How to identify the memory leaks?
FYI, using valgrind is documented at:
http://www.net-snmp.org/wiki/index.php/Debugger
--
Wes Hardaker
Sparta, Inc.
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tue 3/13/2007 7:03 PM
To: Devi U; net-snmp-coders@lists.sourceforge.net
Subject: RE: how to purify net-snmp code
Hi Devi,
The increase shown in top is memory usage by the application; all
increased bytes might have not been leaked
om: Devi U [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 13, 2007 6:44 PM
To: net-snmp-coders@lists.sourceforge.net
Cc: SANTHOSH S (WT01 - Broadband Networks)
Subject: RE: how to purify net-snmp code
Hi,
thanx santhosh..
I am able to purify the code..
I feel that memory leak is there when send
Hi,
thanx santhosh..
I am able to purify the code..
I feel that memory leak is there when send_v2trap is called, but i am not
getting any MLK/PLK in traces
top display:
26760 root 1 0 19 9248K 5608K run 0:01 0.30% snmpd
top display after a trap is sent ===> for each tra
led_lib_dir
> run snmpd with -f option
-
Santhosh
=
Message: 4
Date: Fri, 9 Mar 2007 13:59:36 +0530
From: "Devi U" <[EMAIL PROTECTED]>
Subject: how to purify net-snmp code
To:
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/pl
Hi,
Is it possible to purify the net-snmp code?
How to identify the memory leaks?
Thanx,
Devi.U
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This
14 matches
Mail list logo