We have a firewall with 1GB RAM and 1GB swap. After a couple days of running swap usage starts creeping up to 200-400MB and then seems to slowly creep up from there. Here is a list of the top memory hogs:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3594 root 34 19 177m 121m 1040 S 0.0 12.0 4:26.09 snmpd
3677 root 15 0 204m 79m 476 S 0.3 7.8 486:04.31 snort_inline
4329 chroot 16 0 139m 68m 756 S 0.0 6.8 0:59.56 squidf
4241 chroot 16 0 105m 66m 812 S 0.0 6.6 104:58.61 clamd
21465 root 16 0 58120 54m 2228 S 0.0 5.4 0:46.15 spamd
21466 root 16 0 58080 54m 2228 S 0.0 5.4 0:37.80 spamd
21461 root 17 0 57792 53m 2224 S 0.0 5.3 0:48.51 spamd
21460 root 16 0 57772 53m 2220 S 0.0 5.3 0:47.47 spamd
21462 root 16 0 57540 53m 2224 S 0.0 5.3 0:43.69 spamd
21464 root 17 0 57048 53m 2228 S 0.0 5.3 0:40.11 spamd
21463 root 16 0 56816 52m 2224 S 0.0 5.2 0:36.41 spamd
21450 root 16 0 51048 47m 2172 S 0.0 4.7 0:01.72 spamd
2538 root 16 0 54316 37m 2072 S 0.0 3.7 13:58.29 mdw_daemon.pl
32235 root 39 18 42708 37m 1744 R 85.9 3.7 93:48.46 nacctdreport.pl
7197 root 15 0 47492 22m 2592 S 0.0 2.2 41:03.42 dev-agent.plx
2223 wwwrun 17 0 26860 20m 3136 S 0.0 2.0 0:00.81 index.fpl
2353 root 17 0 25168 18m 2824 S 10.7 1.8 863:20.29 confd
Snort, squid, clamd and spamd all seem fairly typical, but snmpd memory on this machine is about 10x higher than my others so that seems to be the culprit.
I'm about to kill it and see what happens, any other suggestions besides a reboot?
This thread was automatically locked due to age.