On Fri, 14 Jan 2005 10:55:36 -0500 (EST) John wrote:
JS> I'm having trouble getting it to link with dmalloc.  I've got the dmalloc
JS> port installed in /usr/local/lib, and
JS>     ./configure '--with-mib-modules= ucd-snmp/diskio' \
JS>     --with-dmalloc=/usr/local/lib/libdmalloc.a
JS> just doesn't seem to do it for me.

Try just using '--with-dmalloc'.

JS> I think I tracked it down to ucd-snmp/diskio though.
JS>     ./configure '--with-mib-modules= ucd-snmp/diskio'
JS> grows, and if I remove ucd-snmp/diskio from the configure
JS> list in the stock build, it doesn't grow.

Interesting. That doesn't make any sense, as none of that code should be called
if the agent isn't being polled.

<tap, tap>

Unless, that is, a particular os schedules a timer to calculate averages. So,
the problem is somewhere in devla_getstats() or a function it calls. I glanced
at the code and didn't see any obvious problems.

If you are handy with a debugger, set a breakpoint in that function and step
through it, carefully watching what it does with memory pointers..

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to