Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Process swapping issue

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
GB
I have a server that is running Red Hat Enterprise and Nagios was complaining that swap was 100% used. I verified this by running free -m.

How can I locate which process is causing this issue?

I tried running a top and nothing showed up!
 
Did you already try to limit the size of tmpfs in your /etc/fstab?

Does "vmstat 1" show any swap activity?

Is the output of "ps aux" similar to top?
 
The output of sar -r can be very useful for diagnosing the source of memory usage, especially over time (if you are running sar data collection)

ps -eo pid,vsz,rsz,comm | sort -rn -k 2,2 | head should help identify the biggest virtual memory users on your system.

In top did you sort the processes by memory usage instead of CPU?

Annihilannic.
 
I meant to type args in that ps command-line instead of comm... it'll make the processes easier to identify by printing the full commands, not just the process name itself.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top