I have tried Googleing for this and I'm either not getting any where or
it's over my head.

Here's my setup. Mac OS X (Leopard) with rsync 3.0.2 gotten via macports

rsync'ing to a ReadyNAS NV+ with firmware version 4.01c1-p1 with the
rsync 3.0.2 add on.

This is a sample of my rsync:

rsync -r -l -t --whole-file -E -v --progress
--password-file=/users/user1/rsync/settings/rsync.secrets
--exclude-from=/users/user1/rsync/settings/rsync.exclude --delete-after
/Users/user1/Documents/ rsync://user1@NAS1/My-Files/Documents/


I do this command as 1 long string on one line not broken up like I have
here.

If I run this command like this or in a bash script no problems.
If I run this via cron or launchd or other 3rd party application I get
the following error:

0 files...
100 files...
200 files...
rsync: writefd_unbuffered failed to write 4092 bytes: phase
"send_file_entry" [sender]: Broken pipe (32)
overflow: flags=0x72 l1=101 l2=1142977646 lastname=^A^B_.^A
ERROR: buffer overflow in receive_file_entry [receiver]
rsync error: error allocating core memory buffers (code 22) at util.c(121)
[receiver=3.0.2]
rsync: read error: Connection reset by peer (54)
rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-31/rsync/io.c(515)
building file list ...



I have removed the "--progress" flag which still gives me issues.
I have also tried forcing protocol 30 and got a protocol incompatible
error saying protocol 30 is beta.

If I force 28 I get the original error again.

Now, when I check the standard logs that the ReadyNAS offers in it's
interface I see no issues. I do not have ssh activated on the ReadyNAS
so I have no other logs to check.

I have tried uninstalling rsync from my Mac and reinstalling with no avail.


I'm looking for idea's so I can run my rsync via cron.

Thank you