Advice needed regarding i/o & load on CentOS 4.7

sneader

Well-Known Member
Aug 21, 2003
1,195
63
178
La Crosse, WI
cPanel Access Level
Root Administrator
I realize this is a little off topic (not specific to cPanel/WHM)...

I have several cPanel servers, all running CentOS 4.7. Each server has about the same number of hosting accounts. I noticed that one server shows a MUCH higher load than the rest. Most of the servers are at 0.2 to 1.0 load, where this one server is normally at 3.0 to 6.0.

After comparing a low load server with the high load server, it appears that it's a problem with I/O:

Code:
[B]SERVER 1[/B]
07:20:01 AM       CPU     %user     %nice   %system   %iowait     %idle
07:30:02 AM       all      4.03      0.02      1.81     [COLOR="red"]20.61[/COLOR]     73.52
07:40:01 AM       all      2.68      0.12      1.33     [COLOR="red"]13.92[/COLOR]     81.96
07:50:01 AM       all      4.35      0.03      1.69     [COLOR="red"]12.19[/COLOR]     81.74
08:00:01 AM       all      4.06      0.11      1.92     [COLOR="red"]13.80[/COLOR]     80.11
08:10:01 AM       all      4.50      0.17      1.82     [COLOR="red"]16.35[/COLOR]     77.16

[B]SERVER 2[/B]
07:20:01 AM       CPU     %user     %nice   %system   %iowait     %idle
07:30:01 AM       all      3.96      0.02      0.78      [COLOR="red"]0.91[/COLOR]     94.33
07:40:01 AM       all      4.35      0.06      0.85      [COLOR="red"]1.43[/COLOR]     93.31
07:50:01 AM       all      5.74      0.04      1.08      [COLOR="red"]2.10[/COLOR]     91.04
08:00:01 AM       all      5.56      0.01      0.92      [COLOR="red"]1.45[/COLOR]     92.05
08:10:01 AM       all      5.72      0.07      0.93      [COLOR="red"]2.34[/COLOR]     90.94
The server seems OK to me (not sluggish). There was a "sysadmin" responsible for the "high load" server at one time and my hunch is that he either tweaked the buffering limits/timeouts of the default I/O scheduler or switched it to use a different scheduler.

QUESTION: How can I know what scheduler is in use and what its settings are?

If I know that, I can compare to the other "low load" servers and look for obvious differences. OR... maybe it's really that the disks on the "high load" server are THAT slow that it's got 5x more IO wait than the other???

Thanks for any help you can provide.

- Scott
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Old thread...

I know this is an old thread, but this is the exact same problem I have...

We have 9 cPanel servers... All of them are running great except 1. One has consistent high load averages. IOWait seems to be the culprit, but I can't find out why. This particular box has 2 CPU's in it, and is by far the higher end box compared to the other 8. Yet the other 8 all outperform this one.

I thought it was related to the number of accounts (1000+) so started moving accounts to other servers, but that's not helping any....

No one responded to this thread back in 2003, so I don't know if anyone else is having this issue or if it was ever resolved.