Re: read errors mapping filename: Cannot allocate memory (12)

2010-01-15 Thread Wayne Davison
On Mon, Jan 11, 2010 at 3:12 AM, Matthias Adler rs...@cronic.de wrote:

 rsync: read errors mapping filename: Cannot allocate memory (12)


The read errors mapping error is output when the read() calls for a file
returned an error to the sender.  The errno (12) is what the OS indicated
for the failure.  Having a read() return Cannot allocate memory makes it
seem like something is very wrong in the OS -- that's not a typical error
that read() should return.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

read errors mapping filename: Cannot allocate memory (12)

2010-01-11 Thread Matthias Adler

I use rsync to copy files from various Windows servers to a backup server 
running linux (OpenSUSE 11.2, filesystem ext3). The files that are to be copied 
reside in CIFS shares which are mounted on the backup server.

This is the command I run:

rsync -rltv --out-format=./%n%L
   --delete --exclude-from=excludes.txt
   --link-dest=/backup/local/20100110/server1/backup$
   '/backup/server1/backup$/'
   '/backup/local/20100111/server1/backup$'

When copying a rather large file (34 GB) I get the following error:

rsync: read errors mapping filename: Cannot allocate memory (12)
WARNING: filename failed verification -- update discarded (will try again).
rsync: read errors mapping filename: Cannot allocate memory (12)
ERROR: filename failed verification -- update discarded.

It is the only file I have problems with.

I upgraded from rsync 2.6.4 to 3.0.6 and increased the memory on the machine 
from 1 GB to 1.5 GB, but the problem remains.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html