The following three outputs were taken essentially simultaneously:
top:
top - 02:54:36 up 2 days, 13:50, 3 users, load average: 0.05, 0.05, 0.09
Tasks: 181 total, 1 running, 179 sleeping, 0 stopped, 1 zombie
%Cpu(s): 2.5 us, 0.8 sy, 0.0 ni, 96.6 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 16158632 total, 11234480 used, 4924152 free, 844 buffers
KiB Swap: 16777212 total,
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
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 have a desktop running Ubuntu Quantal using OpenStack Folsom on an Intel i5 with 32 GB RAM and 2 GB swap. I'm running 7 VMs each sized like a EC2 m1.small, so 1.7 GB RAM each.
on my linux system I get these stats from top:
Tasks: 155 total, 1 running, 153 sleeping, 0 stopped, 1 zombie
Cpu(s): 1.5%us, 0.3%sy, 0.0%ni, 97.4%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8177180k total, 2025504k used, 6151676k free, 44176k buffers
Swap: 7999996k total, 495300k used, 7504696k free, 637612k cached
There it shows me that my system is using 495Mb of swap.
A few days ago my linux apache server ran out of memory. The server is a xen guest. The server killed all my processes except ssh.
A minute before it ran out of memory, a script of mine saved the output of various commands.
Sometimes I find that 100% of my small Debian machine's RAM is used, but I can't figure out how to find this leak: top show that all memory is used, but I can't find any process that consumed this memory in process listing (processes sorted by field 'n' - %MEM):
top - 12:50:41 up 8 days, 1:13, 1 user, load average: 0.06, 0.15, 1.63
Tasks: 101 total, 1 running, 100 sleeping, 0 stopped, 0