I thought, I might be wrong, so I tried to switch off the disk caching and it had no effect - the picture remained the same. But, apparently, it reports that no process is using my RAM. The only process in my top is MySQL, but it is using 0. Same picture when I try to run other services or applications - all go in swap, top shows that MEM is not used 0. So, with that - I'm pretty sure that this is not a disk cache, who is using the RAM, because normally it should have been reduced and let other processes to use RAM, rather then go to swap.
So, finally, the question is - if someone has any ideas how to find out what process is actually using the memory so heavily? Just a side note on a server showing the same symptoms but still showing memory exhaustion.
What ended up finding was a sysctl. Setting huge pages to 10, as none were used anyway, freed up all of the memory. So around 5 GB of memory was in fact reclaimed by the host. So despite having 8 GB to my VM "officially", in practice it was much less:. I reference this and Total memory used by Python process?
I get a specific process python count tool, now. This also takes the process id, sorts by MB used, and outlines the command that created the process :. The answer is Hyper-V has dynamic memory, so it took memory for main system use and ubuntu flagged it as used.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Linux: find out what process is using all the RAM? Ask Question. Asked 9 years, 8 months ago. Active 1 year, 2 months ago. Viewed k times. Before actually asking, just to be clear: yes, I know about disk cache, and no, it is not my case : Sorry, for this preamble : I'm using CentOS 5.
Improve this question. Timur Timur 1, 2 2 gold badges 10 10 silver badges 9 9 bronze badges. Did you ever find the answer to this? Hackeron: OP accepted this answer. I know that answer doesn't address your question , though. I was able to reproduce your issue on one of my servers, and I'm currently researching if there is a way to troubleshoot it. Deltik Ah, ok. Thank you : - I have 2 servers here that leak all available memory in the space of around 12 hours, let me know if there is anything I can do to help diagnose this.
Discrepancy in finding the top memory consuming processes. In my understanding some process should be consuming atleast G but I am not able to find them.
Warning in Top 10 cpu consuming processes. I m using following command to find top 10 cpu consuming processes. However whenever i execute the command i get following warning. What can be done to avoid it? AIX: Finding processes attached to shared memory.
Is there some way to tell what processes are attached to a shared memory segment? We have a system on which I perform "icps -ma" and there are several segments pending deletion having numerous processes attached to them and I can't tell what processes they are. Neither the creator's pid nor last Finding the age of a unix process, killing old processes, killing zombie processes.
I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Command to find TOP 5 Memory consuming process. It would be lelpful if I get output something like below processname - pid - memory in MB - command I tried few commands from the internet but the result only give the real memory usage or pagging, I want total Process consuming most memory.
How can i find the processes that is consuming most memory? How system deamons consuming less memory. Dear all, When I write the daemon programs it is consuming high memory and processor time. How can I avoid this? But, the system daemons are not consuming more. Can any one explain how the system daemons are handling the memory consumption and processor time. Help -fwrite consuming lot of memory!!! This parituclar application has a module which saves data to a file.
In that case, creating a by-user total and ranking them is a good technique, but it requires a little more work and uses a number of commands. This includes system users like syslog. We then collect stats for each user and total the memory usage stat for each task with awk. As a last step, we display each user's memory usage sum in numerical largest first order.
There are a lot of ways to report on memory usage on Linux. Focusing on which processes and users are consuming the most memory can benefit from a few carefully crafted tools and commands. Sandra Henry-Stocker has been administering Unix systems for more than 30 years. She describes herself as "USL" Unix as a second language but remembers enough English to write books and buy groceries.
She lives in the mountains in Virginia where, when not working with or writing about Unix, she's chasing the bears away from her bird feeders. Here are the latest Insider stories.
More Insider Sign Out.
0コメント