Memory leak in Traps processing in Net-snmp-5.2.2..?
"Pamidipati Suresh-G20238" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
We have recently migrated to Net-Snmp version 5.2.2 from 5.1.1. We are
using Net-snmp-5.2.2 as AgentX subagent.
In Net-snmp-5.2.2, we observed that there is a memory leak in subagent
and snmptrapd while processing traps.
For each trap message processing, there is a leak of 4.2K in SubAgent,
and 10K in SNMPTRAPD.
There is no leakage for get, getnext, walk, set, bulk, register and
unregister operation in SubAgent and SNMPD.
However, we observed that memory usage of SubAgent increases only for
first time processing of GET, SET, and WALK after subagent is up and
completed the mibs registrations. Following are the details in
specific.
GET - 1000Requests - 64K increase
SET - 1000Requests - 28K increase
WALK - 1000Requests - 496K increase
This jump in the memory usage is only for the first time. For the
consecutive requests there is no leak.
Please let us know if anyone has observed this behavior and memory leak
in traps processing in Net-snmp-5.2.2.
Regards,
Suresh.