when i run snmpd under valgrind and called 'update_config' for dynamic configuration update, i get following valgrind logs :-
==32367== by 0x8171278: netsnmp_tdata_create_row (in /root/wichorus/snmpd) ==32367== by 0x80A0714: mteObjects_createEntry (mteObjects.c:123) ==32367== by 0x80A094E: mteObjects_addOID (mteObjects.c:207) ==32367== by 0x80A052D: _init_default_mteObject (mteObjects.c:50) ==32367== by 0x80A0584: _init_default_mteObject_lists (mteObjects.c:65) ==32367== by 0x81B75B4: snmp_call_callbacks (callback.c:323) ==32367== by 0x81AD3B4: read_configs (read_config.c:860) ==32367== by 0x814443B: update_config (agent_read_config.c:274) Hope this would be helpful to track the memory leak in 'update_config' function. Regards, Alok --- alok bharti <[EMAIL PROTECTED]> wrote: > --- Thomas Anders <[EMAIL PROTECTED]> > wrote: > > > alok bharti wrote: > > > error on subcontainer '' insert (-1) > > > > What net-snmp version are you using? > > > > I am using 5.3.1 > > > > On debugging i found that this happens for > 'proxy' > > > statements in my snmpd.conf file. If i remove > > 'proxy' > > > statements, this errors disappear. > > > > > > morover I see memory leak while snmpd updates > with > > new > > > conf file. the memory grows everytime snmpd is > > updated > > > with 'update_config'. > > > > Is the memory leak limited to the use of the proxy > > directive? If not, > > can you track it down to any other directive(s) in > > your snmpd.conf? > > > > How much memory is leaked? > > > > The memory leak is 24 Bytes whenever 'update_config' > is called. The leak is not limited to proxy > directive. > even if I remove proxy directive there is leak. I am > not able to track it down to any specific directive > in > snmpd.conf > > > > > +Thomas > > > > -- > > Thomas Anders (thomas.anders at blue-cable.de) > > > > > > > ____________________________________________________________________________________ > Be a better Globetrotter. Get better travel answers > from someone who knows. Yahoo! Answers - Check it > out. > http://answers.yahoo.com/dir/?link=list&sid=396545469 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > ____________________________________________________________________________________ Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
