Re: Apparent timeouts

Greg Troxel <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
John Rose <[email protected]> writes:

> I have been using Unison for about a decade under several Ubuntu LTS
> versions without any major problems. I have just upgraded to a new
> computer using Ubuntu 22.04 LTS.

What version of Unison are you using?   We always recommend updating to
the current release (or later from git master).

> In the past I have always connected to another computer or to an
> external SSD, but right now I am obliged for a while to synchronize
> with a USB 3.2 flash drive. I find that for large files (several
> hundred MB) I get a message saying Unison has stopped and asking
> whether I want to wait or quit. If I say wait the synchronization
> eventually restarts (sometimes after what seems to be at least a
> minute), and I have to repeatedly say "wait" to complete the
> synchronization.

You don't explain what "restarts" mean or what is issuing that mesage.

As always, I recommend reducing to the simplest case possible,
specifically using the TUI, no -repeat, no fsmonitor.

The real question of course is what is going on.   It could be that the
flash drive or the USB port (is it really a USB3 port?) is slow, that
the OS has a bug, that unison has a bug (your report doesn't really lead
me to think that way at all), or that copying data takes a while and
someting about your desktop environment (which is what?) is twitching
and complaining when it shouldn't.

Also, I'd try rsync of the data to another dir on the flashdrive and see
what happens.  Until you know that the flashdrive and its filesystem
work as you expect, it doesn't make sense to debug anything more
complicate.d.

You didn't explain what kind of filesystem and what kind of async
options, if any, and if it's journaling.

> Could something be wrong with my hardware/software system or possibly
> perhaps it's just that synchronizing with a USB flash drive gives
> timeout problems relative to an external SSD (in the past with another

You aren't necessarily having a "Timeout problem".  You could be having
a "buggy complaint of timeout."  But there could be a real issue.

> computer I connected to an external SSD with a USB 2.0 port and got
> slow transfers but no timeouts)? Is there a set-up parameter to
> increase the timeout threshold or something else to eliminate or
> reduce this problem?

I egrepped the sources quickly and don't find a mechanism like you
experienced.  Please figure out if it's from the desktop environment.

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.