Matthias Adler
2010-Jan-11 11:12 UTC
read errors mapping <filename>: Cannot allocate memory (12)
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.
Wayne Davison
2010-Jan-15 15:40 UTC
read errors mapping <filename>: Cannot allocate memory (12)
On Mon, Jan 11, 2010 at 3:12 AM, Matthias Adler <rsync at 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.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100115/f0e35e7f/attachment.html>