1834944 Members
2364 Online
110071 Solutions
New Discussion

load average high ?

 
manu_9
Frequent Advisor

load average high ?

why does a process go in sleep state ??what are the probable causes.Which is pathway to trouble shoot high load.
5 REPLIES 5
Manish Srivastava
Trusted Contributor

Re: load average high ?

Hi,

There are several cases when the process can go to sleep like executing a sleep system call or waiting for a resource etc. If you have many process sleeping then there could be a deadlock for a resource. Just check what applications are sleeping and what are they waiting for.

manish
Sanjay Kumar Suri
Honored Contributor

Re: load average high ?

Read this notes:

http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/node16.html


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Fred Ruffet
Honored Contributor

Re: load average high ?

If you have glance, you can see what are different wait states. But in a general way, let's say that process comes to sleep for 2 major reasons :
. It waits on a resource (reading a pipe, accessing the memory...)
. It has been scheduled by OS. OS determines (regarding process demands, priority, load...) if a process must run or sleep.

This two things may not be tunable, but keep on mind that a server having a load greater than 1 is not a problem. You may have a problem when system spend more time scheduling processes than running programs.

You can decrease load by running less program. As it is oftenly nor possible, yu may have to scale your server (higher speed CPUs, or more CPUs...).

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
manu_9
Frequent Advisor

Re: load average high ?

Any clues how to find what a process is waiting for .
Fred Ruffet
Honored Contributor

Re: load average high ?

If you have glance (gpm) it can do.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)