I've searched through "Where is my Linux memory?" questions, but I couldn't find a similar scenario for my kind of leak:
- OEL 6.3 x86_64 Linux with 6GB of RAM
- without any of my main components running (2 tomcat, MySQL, Grizzly-based web container) there are around 2.3GB of memory eaten by some unknown part of the system
- hardly afew MB filecache
- hardly afew MB slab cache
- even after reboot
- system is a virtual host on VMWare
Here is a top output ordered by RES desc:
top - 15:57:26 up 3:26, 1 user, load average: 0.27, 0.26, 0.76
Tasks: 192 total, 1 running, 191 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 5993276k total, 2257256k used, 3736020k free, 23772k buffers
Swap: 4063224k total, 89644k used, 3973580k free, 98960k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3236 root 20 0 123m 8384 1520 S 0.0 0.1 0:01.05 Xorg
3373 gdm 20 0 369m 3840 2464 S 0.0 0.1 0:00.69 gdm-simple-gree
3358 gdm 20 0 337m 2916 1940 S 0.0 0.0 0:05.30 gnome-settings-
16380 root 20 0 157m 2708 2192 S 0.0 0.0 0:00.01 su
20174 root 20 0 157m 2704 2192 S 0.0 0.0 0:00.01 su
free -m:
-/+ buffers/cache: 2083 3769
/proc/meminfo for slab:
MemTotal: 5993276 kB
MemFree: 3722140 kB
Slab: 50724 kB
Any hint on finding out whats eating that 2 gigs here is appreciated!