1832345 Members
2249 Online
110041 Solutions
New Discussion

sar -q

 
SOLVED
Go to solution
Keith Floyd
Advisor

sar -q

Hi

Box 10.20
Performing badly

sar -q 5 600 gave %runocc of 100

what does this mean and is it of concern ?? It is like it all the time and other servers are not.

Thanks for any help

Keith
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: sar -q


Its not necessarily a problem, just means a process which is running is using a lot of CPU all the time. Some applications like a database one will do this. Whats the runq-sz like ? if its high then possibly you have a runaway process which is just hogging all the cpu and needs to be killed/restarted.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Keith Floyd
Advisor

Re: sar -q

Hi Stefan

runq-sz always over 1.2 usually in the 2's and 3's - never 0

The server runs DNS/sendmail

Thanks

Keith
Stefan Farrelly
Honored Contributor
Solution

Re: sar -q


If the runq is 2-3 on a single cpu server system and youve got %runocc always at 100 then your out of cpu. either this is a *feature* of the application you are running or else you have a runaway process that needs killing. Use top to see if you can identify the process hogging most of the cpu, if you can, kill it or restart it. Or else you may need to recycle your server to clean everything up.
Im from Palmerston North, New Zealand, but somehow ended up in London...