rsync sleeps ( long sleep times )

Anand Raman araman at sapient.com
Thu Oct 9 07:01:44 EST 2003


hi guys

I am experiencing rsync freezes on my production environment. The rsync
process tries to sync file systems between 2 servers over ssh. Both the
environments are connected by a 512 kbps vpn connection.

Taking cue from other posters to this group, I tried taking a truss dump
for the rsync process to figure out whats going on.

On the source server I can see the process slows down every time the
following truss output is logged

>>>> write(4, " e r s i o n C a l c u l".., 639)	= 639 <<<<
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)
poll(0xFFBE6F38, 1, 60000)			= 0
poll(0xFFBE6F38, 1, 60000)	(sleeping...)

Does any body know what could be causing this. 

I am attaching the truss output of the source and the remote rsync
process. 

Any insight will be helpful.

Environment
------------
Solaris 8
Rsync 2.5.6
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f

Thanks for your time
anand


 <<truss_output.zip>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: truss_output.zip
Type: application/x-zip-compressed
Size: 18209 bytes
Desc: truss_output.zip
Url : http://lists.samba.org/archive/rsync/attachments/20031009/33dc5351/truss_output.bin


More information about the rsync mailing list