Public bug reported:

Here are several Ubuntu 7.10 server, them have snmpd. Snmpd runs with
this options:

/usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p
/var/run/snmpd.pid

After few days, on those systems the size of free memory looks like
decrease (we look them with several tools, like cacti, and top also
shows up, snmpd eats about 3-4% of total memory).

Here are some output when I have restarted snmpd:

# free
             total       used       free     shared    buffers     cached
Mem:        775568     567488     208080          0     190412     119996
-/+ buffers/cache:     257080     518488
Swap:       979832          0     979832

output of top:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13453 snmp      15   0 20444  16m 2376 S  0.0  2.7   3:12.69 snmpd

# /etc/init.d/snmpd stop

# free
             total       used       free     shared    buffers     cached
Mem:        775568     412464     363104          0     190412     120000
-/+ buffers/cache:     102052     673516
Swap:       979832          0     979832

# /etc/init.d/snmpd start

# free
             total       used       free     shared    buffers     cached
Mem:        775568     413604     361964          0     190412     120000
-/+ buffers/cache:     103192     672376
Swap:       979832          0     979832

After the restart the top command shows up:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28655 snmp      15   0  7500 4320 2376 S  0.0  0.6   0:01.09 snmpd 

When we sense this first time, one of those systems has crashed - the system 
has ran out of memory.
After this affair we look those systems, which has snmpd, and restart the 
service on every week.

We didn't find with this effect on any other Linux (including Ubuntu)
version.

Any suggestion?

Thanks:

airween

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
snmpd eats memory
https://bugs.launchpad.net/bugs/189504
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to