"fork failed in do_recv: Not enough space"
ds-list-rsync at sws5.ornl.gov
Mon Jan 14 21:01:07 GMT 2008
Matt McCutchen <matt at mattmccutchen.net> writes:
> On Mon, 2008-01-14 at 12:51 -0500, Dave Sill wrote:
>> I'm using rsync 2.6.9 under Solaris 10. The file system I'm trying to
>> sync has ~7.6 million files. Here's what happens:
>> # rsync -avS . /newfiles1
>> building file list ... done
>> rsync: fork failed in do_recv: Not enough space (12)
>> rsync error: error in IPC code (code 14) at main.c(709) [receiver=2.6.9]
>> rsync: connection unexpectedly closed (8 bytes received so far) [sender]
>> rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]
>> Anyone know what's going on?
> Probably the machine is out of memory.
I waatched it with vmstat, and memory use was pretty flat at the time
it got that error. It's possible that it spiked too fast for me to
> Either free up some memory,
> break the rsync run into smaller pieces, or try a development version of
> rsync 3.0.0, which has an incremental recursion algorithm that avoids
> holding a list of all the source files in memory.
The pre-3.0 did the trick. Thanks.
More information about the rsync