[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

troubleshooting slow disk writes on squeeze.



Hi,

I have a squeeze server

Linux rv1 2.6.32-5-amd64 #1 SMP Fri Oct 15 00:56:30 UTC 2010 x86_64 GNU/Linux

It has a lot of free RAM and the processors also don't have much work load

# free -m
             total       used       free     shared    buffers     cached
Mem:          3956       2778       1178          0          0       1448
-/+ buffers/cache:       1329       2627
Swap:         9538          0       9538

top - 17:41:14 up  6:35,  1 user,  load average: 0.40, 0.91, 0.63
Tasks: 197 total,   1 running, 196 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.0%sy,  0.0%ni, 99.0%id,  0.7%wa,  0.0%hi,  0.3%si,  0.0%st
Cpu1  :  0.0%us,  0.0%sy,  0.3%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.3%us,  0.3%sy,  0.0%ni, 96.7%id,  2.3%wa,  0.3%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  0.3%sy,  0.3%ni, 96.3%id,  2.7%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:   4051952k total,  2824744k used,  1227208k free,      528k buffers
Swap:  9767416k total,       28k used,  9767388k free,  1484668k cached

I have samba installed.

ii  samba                                 2:3.5.5~dfsg-1
SMB/CIFS file, print, and login server for Unix
ii  samba-common                          2:3.5.5~dfsg-1
common files used by both the Samba server and client
ii  samba-common-bin                      2:3.5.5~dfsg-1
common files used by both the Samba server and client

and have a few shares.

Recently Saving/Copying files from Windows Clients to the Samba server
has become slow at times.
The system waits during these times for a long time even while
performing operations using ssh such as

#aptitude update

I ran test for the hard drives and they are fine

# smartctl -l selftest /dev/sda

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      1226         -

# smartctl -l selftest /dev/sdb

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      1191         -

What else can I do to trouble shoot this problem?

thanks :-)

--Siju


Reply to: