Help diagnose memory leak problem
Hi,
I'm running several SHOUTcast server instances and a WowzaMediaServer instance on a CentOS machine.
I'm experiencing a memory leak problem, but I can't figure out which processes are eating memory.
TOP command reports as follows:
Cpu(s): 0.9%us, 1.7%sy, 0.0%ni, 96.8%id, 0.0%wa, 0.1%hi, 0.6%si, 0.0%st
Mem: 8153084k total, 7533528k used, 619556k free, 240984k buffers
Swap: 1052464k total, 0k used, 1052464k free, 6929692k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15011 root 40 0 1440m 89m 7788 S 4.7 1.1 1:03.01 java
5873 centovac 40 0 36060 2236 732 S 1.0 0.0 12:01.07 sc_serv
5439 centovac 40 0 36060 2336 732 S 0.7 0.0 11:56.51 sc_serv
5465 centovac 40 0 36060 2304 732 S 0.7 0.0 12:16.37 sc_serv
5597 centovac 40 0 36060 2368 732 S 0.7 0.0 13:19.11 sc_serv
5850 centovac 40 0 36060 2112 732 S 0.7 0.0 11:26.37 sc_serv
5894 centovac 40 0 34264 2432 728 S 0.7 0.0 12:16.28 sc_serv
5381 centovac 40 0 36060 2472 728 S 0.3 0.0 12:59.27 sc_serv
5642 centovac 40 0 36060 3000 732 S 0.3 0.0 13:05.48 sc_serv
5855 centovac 40 0 36060 2164 732 S 0.3 0.0 12:03.41 sc_serv
5864 centovac 40 0 36060 2160 728 S 0.3 0.0 11:58.29 sc_serv
5885 centovac 40 0 36060 2164 732 S 0.3 0.0 12:05.75 sc_serv
1 root 40 0 2068 620 536 S 0.0 0.0 0:01.36 init
2 root 40 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.06 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
...
Something misterious to me (I'm still a Linux newbie) is that TOP reports a total of 7.5GB used ram but very small percentage for single process (0-1%).
Memory consumption starts at 1GB/8GB after reboot and in three days running gradually increases up to 8GB.
I'm practising with Linux, but I still miss a lot to understand what's happening on my system.
Can anybody suggest me a way to help diagnose the problem?
For instance, are there linux kernel logs saved somewhere that I can look at?
Thanks!
|