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

Re: Unison hangs on copy



On Sat, Jul 23, 2011 at 01:36:33PM +0200, Johannes Fichtinger wrote:
> Am Samstag, 23. Juli 2011 schrieb Victor Munoz:
> 
> > Today, I lost the ability to synchronize between two machines, one had
> > lenny until today morning, and the other was sid. I was using
> > apt-pinning to keep both unison versions compatible.
> > 
> > Yesterday night I was able to sync both machines for the last time.
> > Then, today morning, I was not. It connects to the server, it
> > recognizes the changes, and it offers me all the changes for approval.
> > Then, when it has to start copying, it just waits for ever, and no
> > progress is done.
> 
> From yesterday morning on I see exactly the same problem on my machine. I am 
> running latest SID here. On another machine with SID updated the last time one 
> week ago running unison 2.32.52-3+b1 unison works perfectly.

I use unison several times a day to sync over 100GiB of data.
I see it stall quite frequently.  I think it's a bug in unison,
possibly timing related.  I see it only when syncing over the
internet on a DSL connection, not over a LAN.

Note that sometimes it /does/ come back--you just have to wait,
possibly several tens of minutes.  This can happen if you have
changed a big (multi-GiB in size) file, and it wants to "reconcile
the changes".  But it can appear to be stuck.

I have on occasion had to resort to deleting the cache/index files
in ~/.unison/(arb|frp)* and getting it to rebuild them from scratch
on both the client and server.

Note that version 2.40.61 (not in Debian) fixes quite a few of these
problems, but is still not perfect.  But if you have the time to
build it, it's a big improvement.  The build scripts are slightly
buggy though--it took me a while to work out and fix!


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: