You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rsync locks up forever if -z flag used, fails with error 130 if ^C given #64
I use an rsync script to backup up many different machines (Debian, Ubuntu, Linux Mint, and NetBSD) to my server. Once working, the script is invoked automatically using rsync. I do the backup using passwordless login.
I accidentally enabled the -z flag on my first script file. I usually use this when backing up from remote, and don't use it when backing up locally. This machine is local so it doesn't need -z, but the first iteration used -z:
Doing the backup this way, the backup just locks up at some point - not always the same point.
I discovered I could pull the backup from the server (unwittingly not using -z, since I didn't know I was using -z from the Raspberry Pi). All was fine.
My backup script worked from the pi in this case - probably because it didn't have much to do.
This is when I discovered the -z. I removed it, deleted the backup from the server, and ran the script. The backup was created without issue.
It seems that -z does something that causes some sort of failure in rsync. There's plenty of free RAM (>100 MB) while rsync is running but locked up. ^C kills it and that's when I get error 130 (Unknown Error).
Can do - I'll see if I can find time tonight or tomorrow to experiment.
With -z not used, I have no issues whatsoever which must involve some
occasionally high network load, although the CPU will not be as taxed.
Jim
From: popcornmix [mailto:notifications@github.com]
Sent: Monday, August 20, 2012 3:12 PM
To: raspberrypi/linux
Cc: PhotoJim
Subject: Re: [linux] rsync locks up forever if -z flag used, fails with
error 130 if ^C given (#64)
Activity
popcornmix commentedon Aug 20, 2012
Can you try the suggestions here:
http://elinux.org/R-Pi_Troubleshooting#Crashes_occur_with_high_network_load
Also the latest firmware has some fixes. You could also try adding:
dwc_otg.microframe_schedule=1
to cmdline.txt
PhotoJim commentedon Aug 20, 2012
Can do - I'll see if I can find time tonight or tomorrow to experiment.
With -z not used, I have no issues whatsoever which must involve some
occasionally high network load, although the CPU will not be as taxed.
Jim
From: popcornmix [mailto:notifications@github.com]
Sent: Monday, August 20, 2012 3:12 PM
To: raspberrypi/linux
Cc: PhotoJim
Subject: Re: [linux] rsync locks up forever if -z flag used, fails with
error 130 if ^C given (#64)
Can you try the suggestions here:
http://elinux.org/R-Pi_Troubleshooting#Crashes_occur_with_high_network_load
Also the latest firmware has some fixes. You could also try adding:
dwc_otg.microframe_schedule=1
to config.txt
Reply to this email directly or view
#64 (comment) it on
GitHub.
<https://github.com/notifications/beacon/_4pdJFI0lnWkCuVu0cMk_E2270mBv5ncbAs
bMJa3sRaLLzSsqa8C9m6JvojD0L5u.gif>
ghollingworth commentedon Aug 22, 2013
Reopen if issue still exists
word-at-a-time: avoid undefined behaviour in zero_bytemask macro
word-at-a-time: avoid undefined behaviour in zero_bytemask macro
ARM: dts: imx27: Use the correct usb clock gate
mm/nommu: fix memory leak
mm/nommu: fix memory leak
net: sysctl: fix a kmemleak warning
perf tests: objdump output can contain multi byte chunks
samples/bpf: add error checking for perf ioctl calls in bpf loader
mmc: cavium: Add the missing dma unmap when the dma has finished.
mmc: cavium: Add the missing dma unmap when the dma has finished.
mmc: cavium: Add the missing dma unmap when the dma has finished.
18 remaining items
fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
KVM: arm64: Unregister redistributor for failed vCPU creation
ASoC: qcom: sdm845: add missing soundwire runtime stream alloc
KVM: arm64: Unregister redistributor for failed vCPU creation
ASoC: qcom: sdm845: add missing soundwire runtime stream alloc
pinctrl: cy8c95x0: Respect IRQ trigger settings from firmware
pinctrl: cy8c95x0: Respect IRQ trigger settings from firmware
pinctrl: cy8c95x0: Respect IRQ trigger settings from firmware
igc: don't fail igc_probe() on LED setup error
igc: don't fail igc_probe() on LED setup error
igc: don't fail igc_probe() on LED setup error
cxl/features: Add check for no entries in cxl_feature_info
cxl/features: Add check for no entries in cxl_feature_info
arm64:uprobe fix the uprobe SWBP_INSN in big-endian
tools/nolibc: arch-*.h: fix up code indent errors