I am running centos 5.8 with cpanel.
Lately I am getting reports that my swap is full , but there is a lot of free memory to use.
top - 10:33:43 up 133 days, 17:00, 1 user, load average: 0.05, 0.03, 0.05
Tasks: 170 total, 1 running, 169 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.1%us, 0.5%sy, 0.0%ni, 97.2%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 24726100k total, 8255368k used,
can anyone tell me where the memory is gone:
(no, this time neither buffers nor cache)
# free
total used free shared buffers cached
Mem: 3928200 3868560 59640 0 2888 92924
-/+ buffers/cache: 3772748 155452
Swap: 4192956 226352 3966604
top, sorted by memory, descending:
top - 13:42:06 up 1 day, 3:47, 2 u
I've read a number of top memory use questions but I don't think they answer this.
Here's the most significant part of a top run:
top - 01:11:41 up 4 days, 1:06, 3 users, load average: 0.00, 0.03, 0.26
Tasks: 86 total, 1 running, 84 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.4%us, 0.4%sy, 0.0%ni, 99.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1022816k total, 986704k used, 361
I have a VPS and sometimes the CPU usage is high. I type top and everything seems fine. But, I don't really know what all the stuff it gives me means.
Can you help me understand what is taking memory on my linux box?
When I run free command I see the following picture (14GB are used, 10GB are free):
total used free shared buffers cached
Mem: 24724636 14428580 10296056 0 699100 7763272
-/+ buffers/cache: 5966208 18758428
Swap: 26836984 20776 26816208
But when I run t
I've noticed high memory usage on the server.
Details:
OS: CentOS 6.3 - x86_64
Web server: Nginx with PHP-FPM
The server is generating PDF documents so the traffic is minimum.
top:
# top -b -n 1 -a
top - 10:04:51 up 21 days, 18:57, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 92 total, 1 running, 91 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.2%sy, 0.0%ni, 99.6%id, 0.0%wa,
I'm looking into why our ubuntu web server hung this morning and see that there was some package upgrades a few hours prior to the problem.
From the looks of the swaps proc;
ubuntu:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sdc2 partition 4104188 0 -1
ubuntu:~$
And from top:
ubuntu:~$ top
top - 09:35:37 up 9:07, 9 users, load average: 1.43, 0.80, 1.09
Tasks: 206 total, 3 running, 202 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.4%us, 2.2%sy, 0.0%n
I just installed Gnome Shell about 5 hours ago, and I find it really slow.