Rsync / Cygwin : Cannot Allocate Memory
Hi, I'm running the latest cygwin, with rsync 2.6.6 protocol 26. My command is: c:\cygwin\bin\rsync -vrtz --delete /cygdrive/e [EMAIL PROTECTED] etc I get the following error when trying to rsync 500,000 files: rsync: fork failed in do_recv: Cannot allocate memory (12) rsync error: error in IPC code (code 14) at main.c(550) rsync: connection unexpectedly closed (4 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(434) Of course, this doesn't happen with a smaller fileset. I'd prefer to not have to break up the transfer, as the programmers tend to just create directories wherever they please and don't tell me when they do, then complain that their stuff isn't backed up (been there). But I'm kinda lost - I found a post that says each file uses 100 bytes, the reference poster was trying to archive 5,000,000 files - which is far more than I am. According to that post, my memory requirements would only be 50,000,000 bytes. 50MB. Even if that doubled since the post, it'd still only be 100MB. The odd thing is, It WAS working with rsync 2.5.1-dev (from an rsync_minimal archive I found on the web) - except that one was crashing on a 2GB file (damn outlook pst files), but I was getting past the filelist part. I tried upping the memory for cygwin, because the new version has a limit of 384MB, and I thought MAYBE the dll I grabbed had no limit - but upping to 1024MB didn't work. This is on a Win2k box. Any suggestions? Thanks Rick -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync / Cygwin : Cannot Allocate Memory
On Fri, Mar 24, 2006 at 08:20:18AM -0600, Rick Romero wrote: > rsync: fork failed in do_recv: Cannot allocate memory (12) This error is happening on the receiving side, and you seem to have only mentioned the OS and memory for the sending system (I assume -- you didn't explicitly say). Is the receiving system also running cygwin? What is its version rsync? ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync / Cygwin : Cannot Allocate Memory
Wayne Davison wrote: On Fri, Mar 24, 2006 at 08:20:18AM -0600, Rick Romero wrote: rsync: fork failed in do_recv: Cannot allocate memory (12) This error is happening on the receiving side, and you seem to have only mentioned the OS and memory for the sending system (I assume -- you didn't explicitly say). Is the receiving system also running cygwin? What is its version rsync? ..wayne.. Ahhh The receiving side is a fresh install of Debian, kernel 2.6.8-2 with a whopping 256MB of Ram. I have 2Mb 'free', no swap (What the heck did I do there? Watch my confidence start droping drastically :P ) and 5 rsync processes eating about 35Mb each.. The receiving system is running rsync 2.6.4 protocol v29. Ok, so I'll throw another 256Mb in there asap - I still don't know why just changing the sending side's version of rsync would cause the receiving side to run out of memory.. Thanks Rick -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Rsync / Cygwin : Cannot Allocate Memory
Rick Romero wrote: Wayne Davison wrote: On Fri, Mar 24, 2006 at 08:20:18AM -0600, Rick Romero wrote: rsync: fork failed in do_recv: Cannot allocate memory (12) This error is happening on the receiving side, and you seem to have only mentioned the OS and memory for the sending system (I assume -- you didn't explicitly say). Is the receiving system also running cygwin? What is its version rsync? ..wayne.. Ahhh The receiving side is a fresh install of Debian, kernel 2.6.8-2 with a whopping 256MB of Ram. I have 2Mb 'free', no swap (What the heck did I do there? Watch my confidence start droping drastically :P ) and 5 rsync processes eating about 35Mb each.. The receiving system is running rsync 2.6.4 protocol v29. Ok, so I'll throw another 256Mb in there asap - I still don't know why just changing the sending side's version of rsync would cause the receiving side to run out of memory.. Adding more memory to the receiving side seems to have solved that issue. Now if I could only go back a day and find my own thread in the archives.. no wait, that wouldn't work.. damnit Thanks :) Rick -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html