In message <abopyxs3faqd6...@cell.glebi.us>, Gleb Smirnoff writes: > On Tue, May 06, 2025 at 08:06:54AM -0700, Cy Schubert wrote: > C> Is anyone else experiencing rsync hangs with this? I'm noticing rsync hang > s > C> with large files, like those in /usr/obj or a poudriere package repo. > C> > C> I haven't reverted this locally yet, just guessing ATM. > > Does rsync use unix(4) socket? What is the kernel stack of the sleeping > process? procstat -k $pid > > -- > Gleb Smirnoff
On the sending machine: bob# procstat -k 50742 PID TID COMM TDNAME KSTACK 50742 103321 rsync - mi_switch sleepq_switch sleepq_catch_signals sleepq_timedwait_sig _cv_timedwait_sig_sbt kern_select sys_select amd64_syscall fast_syscall_common bob# bob# procstat -k 50743 PID TID COMM TDNAME KSTACK 50743 100644 rsh - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _cv_wait_sig kern_select sys_select amd64_syscall fast_syscall_common bob# On the receiving machine: cwsys# procstat -k 46918 PID TID COMM TDNAME KSTACK 46918 100848 rsync - mi_switch sleepq_catch_signals sleepq_timedwait_sig _cv_timedwait_sig_sbt seltdwait kern_select sys_select amd64_syscall fast_syscall_common cwsys# procstat -k 46919 PID TID COMM TDNAME KSTACK 46919 100999 rsync - mi_switch sleepq_catch_signals sleepq_timedwait_sig _cv_timedwait_sig_sbt seltdwait kern_select sys_select amd64_syscall fast_syscall_common cwsys# It's proceeding but exceptionally slowly. The hangs occur at 0% and at some points during the transfer. Noticed using rsync --progress. -- Cheers, Cy Schubert <cy.schub...@cschubert.com> FreeBSD UNIX: <c...@freebsd.org> Web: https://FreeBSD.org NTP: <c...@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0