I have been getting requests from application teams that the server is running slow. I have checked the memory utilization, processes running and cpu utilization. Please find below:
#free -m
total used free shared buffers cached
Mem: 3006 2994 11 0 6 171
Hi All,
I have a RAM of around 11 gig and swap of around 18 G in my Linux Server.
But at some times , I find that All the RAM and 5 gig of swap is used in server...and i also got some advice from our discussion forums to increase the RAM .
But nowadays what happens is the all the RAM and all the swap are used and there are no free memory left in both ....so the system is performing very slow
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.
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,
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.
I have read that linux uses free memory for caching, to make system faster. However, both Nagios and Paessler PRTG monitoring system show me that my memory usage is critical.
I could change Nagios mem_usage script to sum free and cached memory, but would that be correct information? I doubt that they misunderstood Linux memory usage.
Lets say I have 8 GB RAM.
Hi.
On one of my servers the "free" command tells me that a lot of swap space are in use. What I'd like to do is to determine which processes have been swapped out.
Hi,
I am not sure how many scripts / java processes running on my HP-UX server.
I need to calculate the total heap of these processes.
I then need to recommend increasing the swap memory to be increase and equal to total heap if that is the right concept.
Hi All,
using top command I have the below status
Code:
load averages: 3.68, 3.20, 2.67; up 0+07:01:24 13:13:16
282 processes: 275 sleeping