This is a discussion on Re: Memory leak in sub-agents within the SNMP Users forums, part of the Networking and Network Related category; Hi, Sorry for mistake i am using netsnmp_register_table(my_handler, table_info); instead of netsnmp_register_table_iterator(my_handler, table_info); Whenever i enter the Handler ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
Sorry for mistake i am using netsnmp_register_table(my_handler, table_info); instead of netsnmp_register_table_iterator(my_handler, table_info); Whenever i enter the Handler i process the request i.e. send the request to the EMS and get the response. Whenever getnext or walk on the table is performed the sub-agent memory keeps on growing. Is there any fix for this problem. On Mon, 2005-04-25 at 14:46, Dave Shield wrote: > On Mon, 2005-04-25 at 09:51, Sasikumar Bodathula wrote: > > I am not populating the data locally(requirement) instead i pass > > the request to the EMS and the response is passed to the snmpd.... > > .... hence there is no need for get_first and get_next methods. > > OK - then you shouldn't be using the iterator helper. > This helper *does* rely on the get_first/get_next hooks. > > If you're handling the indexing yourself, then you'd probably > be better off using 'netsnmp_register_table' instead. > > Dave > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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 |