TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ADRIAN
from: RICHARD KETTLEWELL
date: 2020-06-02 17:43:00
subject: Re: rsync oddity

Adrian  writes:
> Adrian  writes
>>>Are you familiar with strace? At this point that’s definitely the tool
>>>I’d reach for.
>>>
>>>  [1] https://tools.ietf.org/html/rfc4253#section-11.1
>>>
>>
>>I've heard of it, but I haven't (yet) had a reason to use it.
>>
>
> Following another failure overnight, I've tried strace.
>
[....]

You need to trace the ssh processes, on both hosts, not (just)
rsync. Locally you could use ‘strace -tt -f’ to follow trace subprocesses
as
well. Remotely the easiest way is probably to attach the trace after
things have started, with ‘strace -f -tt -p PID’.

Attaching after things start means we don’t quite get the complete
picture but since we’re looking for hints as to why things stop (or not)
that may not matter.

(-tt asks for timestamps, which makes it easier to match up events
across the two hosts, assuming they both have correctly set clocks.)

--
https://www.greenend.org.uk/rjk/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.