The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
scp is slow tomstone_98 UNIX for Dummies Questions & Answers 1 07-26-2007 06:33 AM
Slow FTP & SMB rockboles UNIX for Dummies Questions & Answers 4 12-11-2005 04:52 PM
ls -l over NFS slow keelba UNIX for Advanced & Expert Users 3 01-21-2004 05:17 AM
CPU slow down Henrik UNIX for Dummies Questions & Answers 4 11-21-2002 02:26 AM
slow ftp suntan UNIX for Dummies Questions & Answers 3 07-16-2001 06:42 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-01-2008
mjdousti's Avatar
Registered User
 

Join Date: Jan 2007
Posts: 48
Debian becomes slow!

Hi all,
I've a debian 4 etch machine which runs on a HP Proliant G5 server. My server became too slow yesterday. I restarted the it and also try to run in Run Level 1 but nothing changed. This is the status of my debian box:

Code:
top - 12:33:11 up 34 min,  3 users,  load average: 0.00, 0.03, 0.21
Tasks: 158 total,   1 running, 157 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.7%us,  0.2%sy,  0.0%ni, 95.9%id,  3.2%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   4149764k total,   992552k used,  3157212k free,    51816k buffers
Swap:  5855684k total,        0k used,  5855684k free,   818760k cached
Also I ran the rkhunter and chkrootkit but they found no rootkit in the server. The strang thing is some commands are fast like "cd" but some of them are slow like "ls -aHl" in some places for example in the /root and also the login process takes a lot of time to be done.

Does anyone have any suggestion?

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 09-01-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Are there lots of files (perhaps hidden) in the directories where it's slow? The CPU load doesn't seem to explain anything so it's probably I/O congestion of one kind or another. (The 3.2% waiting might or might not seem high; on my fairly loaded system, I'm seeing waiting percentages between 0 and 1, more towards 0.)
Reply With Quote
  #3  
Old 09-01-2008
mjdousti's Avatar
Registered User
 

Join Date: Jan 2007
Posts: 48
The result of iostat is here:
Code:
myserver:/etc# iostat
Linux 2.6.18-6-686-bigmem (myserver)       09/01/2008

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.61    0.00    0.23    6.88    0.00   92.28

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
cciss/c0d0      146.01      1632.76       263.24    1008194     162544
cciss/c0d1        0.10         1.49         0.00        922          0
As you said my iowait is high. What can I do to decrease it?
But I think this is not the only problem of the server. I've another sever with iowait about 3 but it runs fast and without any poblem.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0