Re: [tkined] memory leaks in CVS tree

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Fri Jun 22 2001 - 17:20:26 MET DST


>>>>> Pete Flugstad writes:

Pete> I'm using the scotty from the anon-CVS tree (snapshot taken
Pete> about a week ago). I'm running basic scotty/tcl scripts (no TK)
Pete> that do some setup, then just beat on an SNMP agent iteratively
Pete> (looking for memory leaks in the agent :-). This is some really
Pete> basic stuff, SNMP Set's mostly, all sychronous. I don't even
Pete> think this script triggers SNMP errors at all (so no error
Pete> handling).

Pete> I'm seeing some pretty significant memory growth in the thing,
Pete> very quickly, so I'm guessing there's a memory leak, or I'm
Pete> doing something wrong. Are there any known leaks that might not
Pete> have patches in the anon-CVS tree? What areas can I look into
Pete> to try and track this down for you? Or, what am I doing wrong
Pete> that causes these leaks?

Looks like you are only setting integers and enumerations. I will
check whether I can reproduce the problem locally. To track down
memory problems, you can compile all the Tcl/Tk stuff with the memory
debugging define enabled. This allow to track where you loose memory,
although this is getting harder to understand with the Tcl_Obj system.

Pete> On a seperate note, I know there were plans to switch to using
Pete> libSMI for the mib parser/interface for scotty. And movement on
Pete> that front? Is there a way I can help? What is holding up an
Pete> official Tnm 3.0.0 release?

I lost my libsmi code when my notebook was stolen and I have not found
the energy and time to redo this work.

Regarding the 3.0.0 release: I decided some time ago that I will call
the next release 3.0.0 - regardless whether it has all the features I
originally planned for 3.0.0. People are already using 3.0.0 in
production environments and so it seems reasonable to give it an
official status.

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:27 MET