Cant explain high memory usage on CentOS 6.5

  • Thread starter Thread starter foxcar
  • Start date Start date
F

foxcar

I have 8GB RAM on my CentOS box that runs apache and samba serving 1 other host on my network. That is to say it should NOT be using 6GB of RAM.

Code:
[root ~]# free -m
total used free shared buffers cached
Mem: 7529 7216 312 0 220 1661
-/+ buffers/cache: 5335 2194
Swap: 7663 0 7663

[root ~]# ps -eo vsize,comm | sort -n | tail -20
93200 auditd
97584 dbus-daemon
100348 sshd
100348 sshd
100944 tail
108136 ps
108472 bash
108472 bash
110320 abrtd
117332 crond
155432 sort
163880 su
189888 rsyslogd
209072 httpd
209160 httpd
209160 httpd
213696 smbd
214212 smbd
218152 smbd
385728 automount

[root ~]# ps h -eo vsz | sort -n | awk '{s+=$1}END{print s}'
3877852
Summary
free -m shows 2194MB free
ps shows ~4GB used (I realize this may not be a good metric since its VM)

How do I find where all this memory is going? The only services this box is running that are not default: apache and samba. No users on this box. Run level 3 (no gui).

Continue reading...
 
Back
Top