Re: Unison hangs on copy
On Sat, Jul 23, 2011 at 01:25:10PM +0100, Roger Leigh wrote:
>
> 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.
I have a lot of files being mirrored, but in this particular case there
is no big file involved, and it's only a few files, about 20.
>
> 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 thought so, but at least one time I tried letting it go, and it
finally exited with a 'lost connection to server' message.
>
> 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!
>
Mm, I guess I will have to consider this. Deleting the cache would
take a while given the number of files involved by now, but anyway,
maybe I should try.
Victor
Reply to: