Re: error in rsync protocol data stream

2004-02-12 Thread Wayne Davison
On Thu, Feb 12, 2004 at 10:28:31PM -0500, Ray Lischner wrote: > According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am > copying about 1,000,000 files, so that comes out to roughly 100MB. The > system has 192MB of physical RAM. In addition to what J.W. says, also keep in mind that th

Re: error in rsync protocol data stream

2004-02-12 Thread jw schultz
On Thu, Feb 12, 2004 at 10:28:31PM -0500, Ray Lischner wrote: > On Thursday 12 February 2004 06:38 pm, jw schultz wrote: > > > You have run out of memory. > > According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am > copying about 1,000,000 files, so that comes out to roughly 100MB.

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 06:38 pm, jw schultz wrote: > You have run out of memory. According to the FAQ-o-matic, rsync needs about 100 bytes/file. I am copying about 1,000,000 files, so that comes out to roughly 100MB. The system has 192MB of physical RAM. Of course, the kernel and all the ot

Re: error in rsync protocol data stream

2004-02-12 Thread Cristian Gafton
On Thu, 12 Feb 2004, jw schultz wrote: > Try this patch which adds an arbitrary 100ms back-off delay > to hopefully give the system a chance to recover. There should be some counting done - if rsync ends up banging too often against ENOBUFS it might get in the crosshairs of the OOM killer. Maybe

Re: error in rsync protocol data stream

2004-02-12 Thread jw schultz
On Thu, Feb 12, 2004 at 02:14:12PM -0500, Ray Lischner wrote: > On Thursday 12 February 2004 12:44 pm, Ray Lischner wrote: > > > I am trying to backup an entire disk to a USB-mounted disk, for backup > > purposes. Many files are copied, but eventually rsync dies: > > I tried it again, and this ti

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 04:00 pm, Lee Eakin wrote: > Is your USB disk a usb-1 device? No, USB 2.0: Maxtor OneTouch (0x0d49/0x7010). I've repeated this attempt three times in a row. Each time, it fails after about 90-100 minutes of elapsed time. -- Ray Lischner, author of C++ in a Nutshel

Re: error in rsync protocol data stream

2004-02-12 Thread Cristian Gafton
On Thu, 12 Feb 2004, Lee Eakin wrote: > Is your USB disk a usb-1 device? I got various errors due to the slow > access times over usb-1 (not rsync's problem). I was able to reduce the > number of errors using the --bwlimit option to slow down rsync so the > device could keep up better. I've had

Re: error in rsync protocol data stream

2004-02-12 Thread Lee Eakin
Is your USB disk a usb-1 device? I got various errors due to the slow access times over usb-1 (not rsync's problem). I was able to reduce the number of errors using the --bwlimit option to slow down rsync so the device could keep up better. I've had no problems since I upgraded to usb-2. -Lee

Re: error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
On Thursday 12 February 2004 12:44 pm, Ray Lischner wrote: > I am trying to backup an entire disk to a USB-mounted disk, for backup > purposes. Many files are copied, but eventually rsync dies: I tried it again, and this time it fails at a different point and with a different error: $ rsync -axH

error in rsync protocol data stream

2004-02-12 Thread Ray Lischner
I am trying to backup an entire disk to a USB-mounted disk, for backup purposes. Many files are copied, but eventually rsync dies: $ rsync -axHSv --delete /backup /media/sda1 ... rsync: connection unexpectedly closed (239508 bytes read so far) rsync error: error in rsync protocol data stream (code

Re: SFU? rsync

2004-02-12 Thread Rodney
For compiling anything on Interix (SFU) you should set the environment variables: CFLAG="-D_ALL_SOURCE" CPPFLAGS="-D_ALL_SOURCE -I/usr/local/include" LDFLAGS="-L/usr/local/lib" The latter two will cause "configure" to pick up any post installed libraries and headers (not that they are need

[PATCH] write only

2004-02-12 Thread peter pan
We use rsync to provide an rsync share on a linux server with a javascript program on Windows clients which ensures all client data is backed up each morning. After making no progress with my posting last month regarding making a module upload only to prevent someone from manually downloading the