On Thu, 6 Jan 2005 13:11:26 -0500 (EST) Robert wrote:
| On Thu, 6 Jan 2005 11:40:56 -0500 (EST) John wrote:
| JS> Hi - I've recently updated the net-snmp port on a couple of my
| JS> FreeBSD boxes to port version 5.2, revision 1, from 2004/12/09,
| JS> and snmpd seems to accumulate memory until it finally runs out
| JS> of space and collapses.
Robert - thanks for your reply.
| 1) what version of FreeBSD?
4.6.2-RELEASE-p20 and 4.10-RELEASE-p3 but I haven't tried it on any
others (once I started seeing this problem).
| 2) how long does it take to collapse?
And of course I just restarted them both recently :-)
One box has had snmpd running for about 20 hours:
% ps aux28074
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 28074 0.0 1.7 34772 2068 ?? S 5:38PM 0:37.42 /usr/local/sbin/snm
Another for 2 hours:
ps aux91817
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 91817 0.0 4.1 6916 5152 ?? S 11:42AM 0:01.37 /usr/local/sbin/snm
I think the latter was up to about 96MB after about 5 days.
| 3) is the box being polled
|
| - if so, what objects?
Yes - hrstorage table entries for disk monitoring.
| - does it run out of memory even if polling is disabled?
I just started one with:
# snmpd -Lf /dev/stdout -f 192.168.16.101:6666
[init_smux] bind failed: Address already in use
NET-SNMP version 5.2
and it's growing (not overly quickly), with no traffic. "truss"
shows a bunch of gettimeofday() calls and __sysctl() calls, followed
by a select() what seems like a 2 second timeout, and repeats.
Thanks! (I hope it's warmer in Georgia than it is here!)
John
[EMAIL PROTECTED]
-------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users