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

Re: troubleshooting slow disk writes on squeeze.


On Tue, 2010-10-19 at 17:46 +0530, Siju George wrote:

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

This part looks OK - CPU's are idle, free memory is OK and not much iowait%

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
What does "vmstat 5" say during this period?

Karl E. Jorgensen <karl@fizzback.net>
Fizzback Group

Reply to: