I have an issue with my home server locking up, when I check the monitor the memory is completely used. I can restart the server and slowly over about 5 days or so it goes all the way back to full (2Gig) and locks up again. I'm not sure how to figure out what is causing this.
I believe that if I kill the process I should get the memory back?
So I killed every process I don't think is essential, however still have the memory issue. Still using 1.7 Gigs with barely anything running... how do I figure out what is causing this?
Code:
root@DMZ-Server:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2028 708 ? Ss Jan19 0:02 init [2]
root 2 0.0 0.0 0 0 ? S Jan19 0:00 [kthreadd/105]
root 3 0.0 0.0 0 0 ? S Jan19 0:00 [khelper/105]
root 4 0.0 0.0 0 0 ? S Jan19 0:00 [rpciod/105/0]
root 5 0.0 0.0 0 0 ? S Jan19 0:00 [rpciod/105/1]
root 6 0.0 0.0 0 0 ? S Jan19 0:00 [nfsiod/105]
root 30 0.0 0.0 104 16 ? S Jan19 0:06 [init-logger]
daemon 257 0.0 0.0 1804 456 ? Ss Jan19 0:00 /sbin/portmap
statd 264 0.0 0.0 1932 700 ? Ss Jan19 0:00 /sbin/rpc.statd
root 427 0.0 0.0 34464 1320 ? Sl Jan19 0:00 /usr/sbin/rsyslogd -c4
daemon 437 0.0 0.0 2156 416 ? Ss Jan19 0:00 /usr/sbin/atd
root 475 0.0 0.0 4052 880 ? Ss Jan19 0:00 /usr/sbin/cron
105 480 0.0 0.0 2576 856 ? Ss Jan19 0:00 /usr/bin/dbus-daemon --system
avahi 486 0.0 0.0 2948 1444 ? S Jan19 0:01 avahi-daemon: running [DMZ-Server.local]
avahi 487 0.0 0.0 2836 432 ? S Jan19 0:00 avahi-daemon: chroot helper
root 754 0.0 0.0 2716 388 ? Ss Jan19 0:00 /usr/sbin/inetd
root 837 0.0 0.0 5772 1832 ? Ss Jan19 0:01 /usr/lib/postfix/master
root 1122 0.0 0.0 9176 1516 ? Ss Jan19 0:02 /usr/sbin/nmbd -D
root 1126 0.0 0.1 16556 2776 ? Ss Jan19 0:00 /usr/sbin/smbd -D
root 1133 0.0 0.0 16556 1268 ? S Jan19 0:00 /usr/sbin/smbd -D
root 1134 0.0 0.0 5488 932 ? Ss Jan19 0:00 /usr/sbin/sshd
root 1356 0.0 0.1 23504 2912 ? Sl Jan19 0:00 /usr/sbin/console-kit-daemon --no-daemon
root 3633 0.0 0.1 18156 3584 ? S 17:38 0:00 /usr/sbin/smbd -D
postfix 9505 0.0 0.0 5788 1820 ? S 20:01 0:00 pickup -l -t fifo -u -c
root 9559 0.0 0.1 8696 3156 ? Ss 20:02 0:00 sshd: root@pts/0
root 9572 0.0 0.1 6668 3728 pts/0 Ss 20:02 0:00 -bash
postfix 9660 0.0 0.0 5832 1904 ? S 20:02 0:00 qmgr -l -t fifo -u
root 10305 0.0 0.0 4112 1024 pts/0 R+ 20:12 0:00 ps aux
root@DMZ-Server:~# free -m
total used free shared buffers cached
Mem: 2048 1686 361 0 0 1605
-/+ buffers/cache: 80 1967
Swap: 0 0 0