BackupPC-users

Re: [BackupPC-users] timeout with rsyncd

2009-07-24 15:31:45
Subject: Re: [BackupPC-users] timeout with rsyncd
From: Chris Purves <chris AT northfolk DOT ca>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 24 Jul 2009 13:25:04 -0600
On July 23, 2009 03:39:08 pm Chris Purves wrote:
> On July 23, 2009 09:47:46 am Chris Purves wrote:
> > Hello,
> > 
> > I am having a problem on one of the shares for an rsyncd backup.  Normally 
> > I back up four different rsyncd shares.  Three go without problems, but the 
> > fourth gets a timeout error.  Here is the error from the rsyncd log:
> > 
> > 2009/07/22 10:29:52 [370] name lookup failed for 10.221.77.1: Name or 
> > service not known
> > 2009/07/22 10:29:52 [370] connect from UNKNOWN (10.221.77.1)
> > 2009/07/22 16:29:52 [370] rsync on . from backup@unknown (10.221.77.1)
> > 2009/07/22 16:29:52 [370] building file list
> > 2009/07/22 17:29:58 [370] rsync error: timeout in data send/receive (code 
> > 30) at io.c(239) [sender=3.0.3]
> > 
> > The timout: one hour corresponds to the timeout value set in the 
> > rsyncd.conf file.  I can run rsync from the command line with the same 
> > arguments used by Backuppc and it takes about one minute to complete 
> > without any errors.
> > 
> > Below is the XferLOG from backuppc for the same instance.
> > 
> > incr backup started back to 2009-05-29 21:00:03 (backup #226) for directory 
> > www
> > Connected to vesuvius:873, remote version 30
> > Negotiated protocol version 28
> > Connected to module www
> > Sending args: --server --sender --numeric-ids --perms --owner --group -D 
> > --links --hard-links --times --block-size=2048 --recursive 
> > --checksum-seed=32761 . .
> > Checksum caching enabled (checksumSeed = 32761)
> > Sent exclude: /data
> > Xfer PIDs are now 20138
> >   create d 775   0/20001        4096 .
> >   ... removed 335 lines ...
> >   create d 755     33/33        4096 twiki/working/work_areas/TreePlugin
> > Remote[1]: rsync error: timeout in data send/receive (code 30) at io.c(239) 
> > [sender=3.0.3]
> > Read EOF: 
> > Tried again: got 0 bytes
> > finish: removing in-process file .
> > Child is aborting
> > Done: 0 files, 0 bytes
> > 
> 
> Adding -vvv to the rsync command shows that it hangs after the file transfer 
> has finished, but it doesn't exit cleanly.  From my rsyncd log:
> 
> ...lots of lines removed...
> 2009/07/23 21:31:30 [4545] sending file_sum
> 2009/07/23 21:31:30 [4545] false_alarms=0 hash_hits=0 matches=0
> 2009/07/23 21:31:30 [4545] sender finished 
> twiki/working/work_areas/TreePlugin/WIP_Doc.tree
> 2009/07/23 21:31:30 [4545] send_files phase=1
> 2009/07/23 21:31:35 [4545] send files finished
> 2009/07/23 21:31:35 [4545] total: matches=344  hash_hits=381  false_alarms=0 
> data=117624
> 2009/07/23 21:31:35 [4545] sent 547458 bytes  received 3143 bytes  total size 
> 49509520
> 2009/07/23 21:31:35 [4545] _exit_cleanup(code=0, file=main.c, line=749): 
> about to call exit(0)
> 

I was able to solve the problem by removing a ganttproject log file.  There was 
nothing strange about the file other than it was one of the few that had 
changed since the backup stopped working.  I can provide more information if 
anyone is interested.

-- 
Chris Purves

"No one can serve two masters. Either he will hate the one and love the other, 
or he will be devoted to the one and despise the other. You cannot serve both 
God and Money." - Jesus of Nazareth

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>