Opened 3 years ago
Last modified 3 years ago
#17088 new bug
rsync: out of memory
Reported by: | miqlas | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Trying to copy all my media files to my NAS through the local network. Rsync does the job nicely, but after some hours the throughput drops to zero. Looking at the client (Haiku, current nightly, 64 bit with 8gb ram) the available memory is completely exhausted. Ctrl+C-ing rsync results an infinite print of "bash: fork out of memory" message (or something similar). Shutdown/closing/opening programs is not possible in this state. It seems the most memory consumed by the kernel.
According to my research rsync can cause OOM situation on other platforms too. IDK, if it is a bug or not.
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Definetely reproducible, at least on my computer. I spent 3 days to copy 370 gb, but still not finished, as it always stalls because OOM. It always happens around 3-4 hours after starting rsync.
Probably either a memory leak or buffer bloat in the network stack, I suspect. Worthy of investigation if reproducible.