Koozali.org: home of the SME Server

High wait

Offline jonash

  • ****
  • 120
  • +0/-0
High wait
« on: June 16, 2008, 06:54:38 AM »
I have a SME 7.3, which I have just a long time...

The last couple of weeks the host gets slower and slower. When I run "top", I have like 60-90% wait in the CPU row.
I seems that there are some errors on the disk, but I cant find anything in the logs about disk/read/write errors.
Can it be anything else than a hardware problem? I cant find any crazy processes either..

Does anyone have time for any hints or suggestions?

Thank you!

.........

Offline zatnikatel

  • *****
  • 190
  • +0/-0
Re: High wait
« Reply #1 on: June 17, 2008, 02:49:03 PM »
Some more information please
1 what hardware is SME running on
2 how much disk space do you have left
3 does it speed back up after a reboot and how long before it slows down again
4 is it just the internet side of SME or the lan side or both that get slow
5 going by what you have said is SME running in server and gateway mode or just server only
5 also has anything changed on your network or have you added anything lately
6 have you run fsck on the disk to see what the error's maybe
7 what is the lay out of your network

Offline jonash

  • ****
  • 120
  • +0/-0
Re: High wait
« Reply #2 on: June 17, 2008, 10:25:02 PM »
Some more information please
1 what hardware is SME running on
CPU:CPU0: Intel Pentium III (Coppermine) 864.122 MHz  Mem: 512 Mb
2 how much disk space do you have left
/dev/mapper/main-root     114694744  93875688  14992908  87% /
3 does it speed back up after a reboot and how long before it slows down again
Is slow the first disk access...
4 is it just the internet side of SME or the lan side or both that get slow
Both
5 going by what you have said is SME running in server and gateway mode or just server only
Server only
6 also has anything changed on your network or have you added anything lately
No
7 have you run fsck on the disk to see what the error's maybe
No errors
8 what is the lay out of your network
Not much 4 PCs 100 Mb network.

The wait is as soon as I do any disk access, i.e. http access...
Whe I do a du -sk /home I have these numbers...
Cpu(s): 11.3% us,  7.0% sy,  0.0% ni,  0.0% id, 81.5% wa,  0.3% hi,  0.0% s
.........

Offline slords

  • *****
  • 235
  • +3/-0
Re: High wait
« Reply #3 on: June 17, 2008, 11:07:30 PM »
while you are experiencing the high io% wait try issuing the following command and post the last block displayed back here:

Code: [Select]
iostat -xk 4 5
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook

Offline jonash

  • ****
  • 120
  • +0/-0
Re: High wait
« Reply #4 on: June 18, 2008, 06:41:38 PM »
avg-cpu:  %user   %nice    %sys %iowait   %idle
          16.54    0.00   16.79   66.67    0.00

Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util
hda         24.81 272.43 149.37 21.05 8318.80 2347.87  4159.40  1173.93    62.59    16.70   98.08   5.27  89.75
hdb          0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
md1          0.00   0.00  0.00  0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
md2          0.00   0.00 172.68 292.98 8318.80 2343.86  4159.40  1171.93    22.90     0.00    0.00   0.00   0.00
dm-0         0.00   0.00 154.39 292.98 8172.43 2343.86  4086.22  1171.93    23.51   247.61  553.50   2.00  89.30
dm-1         0.00   0.00 18.30  0.00  146.37    0.00    73.18     0.00     8.00     0.98   53.30  10.62  19.42
.........