0
votes
2answers
30 views

top and htop disagree on memory usage, but swap is being used on GlusterFS server. Can this be improved?

If I run free -m, top and htop, I get different memory uses. The system is also using a small amount of swap. I understand from this question why they are reporting different values (some of the data ...
0
votes
1answer
27 views

CentOS 6.4 64-bit Memory Usage really not adding up

I recently migrated hosting providers and in the process my distribution changed from CentOS 5.9 64-bit to CentOS 6.4 64-bit. Despite having a little more RAM (1 GiB rather than 768 MiB) the new VPS ...
0
votes
1answer
77 views

What does TOP's DATA column mean?

I'm trying to figure out the meanings of all the different classifications of memory such as VIRT, RES, SHR, AND DATA. While I generally understand the first 3, I have no idea what the DATA column ...
2
votes
1answer
113 views

Our RAM usage is high, including -/+ buffer/cache, but top has no answers

We are running CentOS 6 with a PHP web application. After we pushed a new version live it seems we have a memory issue, however top does not show any high usage instances. I have looked around and ...
-1
votes
1answer
77 views

Top not accurately showing memory usage [duplicate]

Top is not showing my memory usage accurately or is my VPS provider doing something strange? As you see in the picture bellow it uses 90%+ of the memory, but when you look at what processes that is ...
0
votes
3answers
184 views

What is using up my RAM in VPS?

I'm running top and I see that out of 502968 KB, 48064 KB is used leaving 16884 KB free. But then when I look at the individual processes I see that mysql is consuming 9.4% of my RAM on occasion - but ...
0
votes
1answer
31 views

Running “top” memory seems high? [duplicate]

I'm not a Ubuntu expert, but I've just ran top on a Ubuntu server box and Terminal has highlighted the results in red, it looks pretty high to me. Is this right? I'm only really running Apache and ...
0
votes
1answer
46 views

What is using the memory when e2fsck is running? [duplicate]

I am having trouble running e2fsck due to memory limitations, as detailed in this question. In the course of investigating that, I came upon something that may be of more general interest, so I will ...
0
votes
1answer
370 views

Sum of memory of few processes in top is greater than 100%

I'm trying to calculate the amount of memory used by AMP in an LAMP stack machine. top -bn1 | grep -E '(mysql|httpd|php)' | awk '{mem += $(NF-2)} END {print mem}' But the sum generated using the ...
0
votes
1answer
101 views

Where is my RAM going? Top command included [duplicate]

Possible Duplicate: How to understand the memory usage and load average in linux server Tasks: 39 total, 1 running, 37 sleeping, 0 stopped, 1 zombie Cpu(s): 0.0%us, 0.0%sy, ...
0
votes
1answer
70 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
3
votes
1answer
297 views

How do you measure the memory footprint of a set of forked processes?

Say I've got a process using 200MB of memory, and it fork()s: python -c "import os; data='x'*200000000; os.fork(); raw_input()" Programs like 'top' will show each process using 200MB, with very ...
1
vote
1answer
331 views

free -m is showing total of 309 Mb for a system with 4GB RAM

OS:Xen Cloud Platform 1.1 (XCP) modified centos, and xen server 5.0 running on intel i5 free -m total used free shared buffers cached Mem: 309 ...
1
vote
1answer
105 views

How to determine httpd memory usage

If I have this output from top for httpd, how do I determine its total memory usage? 16924 apache 20 0 203m 7108 2852 S 0.0 0.2 0:03.48 httpd ...
14
votes
1answer
9k views

How to interpret output from Linux 'top' command?

Following a discussion made HERE about how PHP-FPM consuming memory, I just found a problem in reading the memory in top command. Here is a screenshot of my top just after restarting PHP-FPM. ...
0
votes
1answer
117 views

why pressing M in linux's top command will have many processes that does not exist?

i pressed M in top command try to get a memory sort for the processes, 5892 myuser 15 0 88428 86M 12520 S 0.0 4.2 0:01 0 java 5893 myuser 15 0 88428 86M 12520 S 0.0 4.2 ...
0
votes
1answer
546 views

memory difference on top and htop

I got a new VPS as my database server. I installed only mysql and started. After some time(even after shutting down mysql service), I see only %3-4 of the memory used in htop but according to top I ...
2
votes
2answers
1k views

Ubuntu server using too much memory

my server is at a very high memory usage constantly - to the point that it won't let me log in via ssh some times. I have to reboot the server before I can log in and when it's restarted the memory ...
1
vote
1answer
444 views

400% CPU usage for MySQL? What? What should I do?

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19857 mysql 20 0 514m 47m 3404 S 386 9.7 4511:45 mysqld 15659 www-data 20 0 205m 11m 4856 S 7 2.3 0:00.67 ...
1
vote
3answers
842 views

Memory Usage by Bytes Top 10

I need a way to see how many bytes to top ten processes are using not percentage. I am using centos
2
votes
2answers
2k views

CentOS server. What does it mean when the total used RAM does not equal the sum of RES?

I'm having a problem with a virtual hosted server running CentOS. In the past month a process (java based) that had been running fine started having problems getting memory when the JVM was started. ...
12
votes
1answer
7k views

Memory Usage Numbers In top/htop

Can someone please explain this top output. Each PHP process is using 30% of the total memory or of the used memory? Furthermore how can it be that the combined used memory across all the PHP ...
8
votes
3answers
11k views

How to have linux top command show memory summary in megabytes not kilobytes

Redhat EL5 I had my top configured the just the way I like showing the memory summary and swap summary in MB. I had to close my shell and then when I re-opened it, it is back showing in (default ?) ...
5
votes
4answers
523 views

Memory Usage in LINUX

I have a debian system. It has 8GB memory. When I do top it shows 7.9 GB memory used and rest free. I add up the memory usage of all the programs running from top and they hardly sum up to around 50 ...
0
votes
1answer
691 views

Is my centOS dedicated server caching disk files appropriately, or not?

Here's the head of the top output from my centOS 5 server, at a moment with very low load. What I want to know is whether it is using its free memory wisely to cache files from disk. Of 2G of RAM, ...
3
votes
4answers
3k views

Linux memory usage

We've been having some Linux memory usage problems on some of our servers. free, top, ps, and vmstat are all showing 261M free out of 1G (~25%). However, adding up the amount of memory shown per ...
31
votes
5answers
10k views

How to understand the memory usage and load average in linux server

I am using a linux server which has 128GB of memory and 24 cores. I use top to see how much it is used. Its output is pasted at the end of the post. Here are two questions: (1) I see that each of the ...
10
votes
2answers
3k views

How is memory usage reported in Linux?

Using ps, I can see the size, the vsize (same as top's VIRT?), and the rss (same as top's RES?). (One more I see in top is SHR.) Could someone summarize for me what these different fields mean?