Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got a bit of a strange situation here. I've got a server running about 30 virtual desktops. It has a loadavg of about 18 with spikes to 25 on a quad core machine and I don't know where it comes from.
What I've checked so far:
The swap partition (5GB) is nearly full but no swap in/swap out activity is taking place so I guess this is a left over from some process in the past but causing no harm.
free shows I've got 38GB of 94GB RAM free
top shows the CPU load as follows: Cpu(s): 9.9%us, 2.6%sy, 0.0%ni, 87.4%id, 0.1%wa, 0.0%hi, 0.1%si, 0.0%st
iostat shows virtually no read or write activity on any disk.
I've checked IRQ activity and by far the highest IRQ activity I can see is on the ethernet port
Anyone an idea what else can cause such a high loadavg on a seemingly unloaded machine?
If it affecting your SLAs ?. If not why do you care.
Oftentimes it's some crappy software (Oracle, Apache come to mind) that drop threads into uninterruptible sleep and forgets about them. Try this and post the output as well
Code:
top -b -n 1 | awk '{if (NR <=7) print; else if ($8 ~ /[RD]/) {print; count++} } END {print "Total: "count}'
I guess I have found what's going on with the command above. There are some processes in uninterruptible sleep. NFSv4 mounts, authenticated with Kerberos. Somehow I guess the ticket has expired and the process is now trying to access the disk until, ... forever.
Nope - when in state "D" they are doing nothing - except contributing to loadavg. This is different to Unix loadavg calculation (which is what you read of most on the web).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.