rsync and locking

Martin Pool mbp at samba.org
Fri Nov 8 19:01:02 EST 2002


On  8 Nov 2002, Zas <rsync at norz.org> wrote:
> Hello,
> 
> 	I got an issue with rsync and (fcntl) locked files.
> 
> When rsync tries to sync a file that is opened and locked by another
> process (that use fcntl write lock), it ends up in Disk Sleep.
> Then i need to reboot to remove that dead processes (let me now if
> there's another solution).

Can you please see if you can attach strace to find out what it's
tryig to do?

Advisory locks should not cause a program to hang in 'D'.  Are you
sure you're not using mandatory locks?

-- 
Martin

"Those who are familiar with Open Source Software and Linux are
favorably predisposed towards them."
	-- Microsoft white paper, 
	   http://www.opensource.org/halloween/halloween7.php



More information about the rsync mailing list