[Bug 14962] Crash/restart using rsync 3.2.3 on M1 Mac
samba-bugs at samba.org
samba-bugs at samba.org
Thu Jan 27 19:21:37 UTC 2022
https://bugzilla.samba.org/show_bug.cgi?id=14962
--- Comment #1 from Mike Bombich <mike at bombich.com> ---
This is probably the same kernel memory leak I documented here:
https://bombich.com/kb/ccc6/macos-monterey-known-issues#smb_panics
You can confirm whether it's the same issue by looking for zone_map_exhaustion
in the system log. e.g.:
- Start your rsync task
- Run `log --stream | grep zone_map_exhaustion` in a Terminal window
- Run `sudo zprint -d kext.kalloc.32768` in another Terminal window
Also watch memory pressure in Activity Monitor. I saw a gradual and steady
increase, although it never got to a "warning" level before memoryd started
killing things.
If that's what you're seeing, it's not an rsync bug, it's a bug in macOS.
Mike
> On Jan 27, 2022, at 11:26AM, just subscribed for rsync-qa from bugzilla via rsync <rsync at lists.samba.org> wrote:
>
> https://bugzilla.samba.org/show_bug.cgi?id=14962
>
> Bug ID: 14962
> Summary: Crash/restart using rsync 3.2.3 on M1 Mac
> Product: rsync
> Version: 3.2.0
> Hardware: All
> OS: All
> Status: NEW
> Severity: normal
> Priority: P5
> Component: core
> Assignee: wayne at opencoder.net
> Reporter: arjunmeht at gmail.com
> QA Contact: rsync-qa at samba.org
> Target Milestone: ---
>
> Hi there,
>
> Whole (macOS) system is crashing when transferring a large number of files from
> Mac to NAS via rsync.
>
> Running the below command on a directory with thousands of images (~5MB each)
> the transfer speed eventually slows down, the system gets choppy, freezes and
> then eventually the entire computer reboots.
>
> rsync -va --update --info=progress2 /Volumes/Source/folder
> /Volumes/Destination/folder
>
> I found this reported here as well:
> https://apple.stackexchange.com/questions/421007/rsync-3-2-3-keeps-crashing-on-mac-mini-m1#
>
> I experienced this on a M1 Mac mini running macOS Monterey. The stackexchange
> post is running Big Sur.
>
> rsync 3.2.3 was installed via homebrew (brew install rsync) so it may be
> possible this is a homebrew distribution/compile problem.
>
> The only solution for me was to downgrade back to use the included rsync in
> macOS (rsync version 2.6.9 protocol version 29)
>
> --
> You are receiving this mail because:
> You are the QA Contact for the bug.
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list