[Bug 290335] net/rsync: random hang, zfs-zfs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Oct 2025 05:38:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290335

            Bug ID: 290335
           Summary: net/rsync: random hang, zfs-zfs
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: bugs-freebsd-org916@ketas.si.pri.ee
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

i encountered random hang where rsync which usually completes under 6h suddenly
took more than 24h

i have it's log but it's no help, as only thing it says is bunch of "directory
has vanished:" which actually happened, files were removed while rsync ran, but
it's not some kind of hard error and nevermind reason to hang

i never encountered this before, src is zfs local, dst is also zfs local

the exact hanging command was

rsync --quiet -avhhhiHAXUS --progress --delete --delete-excluded \
--exclude=/gold \
--exclude=/copper \
--exclude=/dev \
--exclude=/root/files/priv/restore \
--exclude=/usr/obj \
--exclude=/mnt \
--exclude=/var/run/samba4/fd \
--exclude=/root/files/embedded/mnt \
--exclude=/root/files/isos/fbsd/mnt \
--exclude=/root/mnt \
--exclude=/root/files/jails/neongreen/root/files/poudriere/basefs/data/.m \
--exclude=/root/files/jails/neongreen/root/files/poudriere/obj \
--exclude=/root/files/jails/neongreen/root/files/saved/objs \
'--exclude=/*test*' \
'--exclude=/root/files/jails/*/.rootfs' \
'--exclude=/usr/ports/*/*/work' \
'--exclude=/usr/ports/*/*/work-*' \
'--exclude=/root/files/fbsd/*/obj' \
'--exclude=/root/files/qemus/*/.img' \
/ \
/gold/files/backups/green/

there is no reason to hang and it has again completed it's run within normal
time and no errors

host runs 13.5-RELEASE-p5

there are no visible fs or storage issues. and i was able to kill rsync, eg it
wasn't in some uninterruptable state due underlying storage ops

i think i just confused it by those file actions but don't know how, how to
repeat it or where the bug is

-- 
You are receiving this mail because:
You are the assignee for the bug.