Your message dated Sat, 6 Apr 2013 14:35:13 +0900
with message-id <[email protected]>
and subject line Debian 7.0 no longer supports vserver
has caused the Debian Bug report #421906,
regarding memory leaks with snmpd on i686/vserver
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
421906: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421906
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snmpd
Version: 5.2.3-7
Severity: important
(This bug may be related to #420876, but the subject is different
and I don't know how to change it or link them together.)
The snmpd service leaks memory to finaly get killed (!) by the memory
manager. It's perfectly reproducible on my server (firewall actually).
I restarted the snmpd service once again this morning and here was
it's status just after starting:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
snmp 22460 1.1 6.5 6916 4084 ? S 11:40 0:00
/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
And this is it's status now, about 7 hours later:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
snmp 22460 0.1 16.8 14620 10456 ? S 11:40 0:47
/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
This snmpd is running a very simple configuration, only to serve MRTG.
There is no call to external programs or trap management either.
The memory is growing by a few 10th kilobytes on every single request.
I did strace it but I was not able to find anything clearly wrong.
The only clue I have found is that we can clearly see the heap
allocation growing in "/proc/$(pidof snmpd)/smaps".
Hope this helps, cheers, J.C.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-vserver-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages snmpd depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libsensors3 1:2.10.1-3 library to read temperature/voltag
ii libsnmp9 5.2.3-7 NET SNMP (Simple Network Managemen
ii libwrap0 7.6.dbs-13 Wietse Venema's TCP wrappers libra
snmpd recommends no packages.
-- debconf information:
* snmpd/upgradefrom521:
snmpd/upgradefrom36:
--- End Message ---
--- Begin Message ---
Hi,
Since Debian 7.0, vserver is no longer supported(*), so I think
it is not worth to deal with it in this time and I'll close this
bug, sorry.
*) http://linux-vserver.org/Installation_on_Debian
--
Hideki Yamane <[email protected]>
--- End Message ---