Hi, on my linux box (2.4.21-pre4-ac4) I've used rsync to mirror a rather large /usr/local tree (4 Gb) After transmission of many files I get the error message rsync error: some files could not be transferred (code 23) at main.c(1045) According to /usr/include/asm/errno.h the code 23 says File table overflow What can I do about that? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Aachen University D 52056 Aachen, Germany
On Wed, Feb 26, 2003 at 10:04:33AM +0100, jarausch@igpm.rwth-aachen.de wrote:> Hi, > > on my linux box (2.4.21-pre4-ac4) > I've used rsync to mirror a rather large /usr/local tree (4 Gb) > After transmission of many files I get the error message > rsync error: some files could not be transferred (code 23) at main.c(1045) > > According to /usr/include/asm/errno.h the code 23 says > File table overflowThat isn't errno 23. Code 23 is an internal error code meaning "some files could not be transferred" In other words the transfer was not complete. Look for other error messages before that one. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
J.W. Schultz writes> On Wed, Feb 26, 2003 at 10:04:33AM +0100, jarausch@igpm.rwth-aachen.de wrote: >> Hi, >> >> on my linux box (2.4.21-pre4-ac4) >> I've used rsync to mirror a rather large /usr/local tree (4 Gb) >> After transmission of many files I get the error message >> rsync error: some files could not be transferred (code 23) at main.c(1045) >> >> According to /usr/include/asm/errno.h the code 23 says >> File table overflow> That isn't errno 23. Code 23 is an internal error code > meaning "some files could not be transferred" In other words > the transfer was not complete. Look for other error > messages before that one.I have a log file of more than 154,000 lines. Searching for 'error' or 'transfer' doesn't show anything. So, how can I find out the reason for the failure. rsync has processed about 154,000 files, though. There is plenty of space in the target directory. It might even be that rsync has synced all files but because of the error is doesn't honour the --delete option, so it's hard to check if some files are missing. If I delete a file on the (remote) source directory, the error occurs on file later. So it looks like a limitation (buffer, list, etc) of rsync. Thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Aachen University D 52056 Aachen, Germany
> J.W. Schultz writes> I suspect that this is another area that could use some > cleanup. That message should really only show up if there > really are files that didn't transfer.Yes, please.> Here are 147 of them so you can get an idea of what i mean.--snip-- I think it was a permission problem. I've changed the /etc/rsyncd.conf file on the server and now it works just fine. Could error messages be written into a list --- holding only the first 10 different error messages ? This list could be written out at the end again. Many thanks, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Aachen University D 52056 Aachen, Germany
I've seen this happen if you are backing up something while files are being very volatile. E.G. If you backup / and exclude nothing, and after the file list is built and before you backup certain files in a busy queue under /var/spool/postfix/, those files could be gone before your backup gets around to them. Then you'll get a code 23 message saying some files could not be transferred. In this case, exclude /var/spool/postfix from your backup and you'll be fine. -Jason> Hi, > > on my linux box (2.4.21-pre4-ac4) > I've used rsync to mirror a rather large /usr/local tree (4 Gb) > After transmission of many files I get the error message > rsync error: some files could not be transferred (code 23) at main.c(1045) > > According to /usr/include/asm/errno.h the code 23 says > File table overflow > > What can I do about that? > > Many thanks for a hint, > > Helmut Jarausch > > Lehrstuhl fuer Numerische Mathematik > Aachen University > D 52056 Aachen, Germany > > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html >