[Box Backup-commit] #9: SSL connection may time out when backing up large data sets

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Nov 2 22:20:19 GMT 2006


#9: SSL connection may time out when backing up large data sets
------------------------------------------------------------+---------------
 Reporter:  chris                                           |       Owner:  chris
     Type:  defect                                          |      Status:  new  
 Priority:  normal                                          |   Milestone:  0.11 
Component:  bbackupctl                                      |     Version:  0.10 
 Keywords:  ssl timeout client reload scanning directories  |  
------------------------------------------------------------+---------------
 Tobias Balle-Petersen reports that when backing up 1 Tb of files, the
 client needs to be reloaded before each backup, otherwise the backup will
 fail with an SSL timeout error. He has KeepAliveTime enabled and set low
 (10 seconds).

 It appears that the client can spend large amounts of time scanning
 (locally) for changed files without contacting the server, and during
 these long delays, the connection can time out. Reloading the client
 causes it to discard cached information and request data from the store
 more often, which avoids the timeout.

 I suspect that the root of the problem is that KeepAliveTime is only
 honoured while diffing individual files, and not while scanning
 directories. In a large data set where few files change between backup
 runs, a timeout may occur while scanning directories. Sending KeepAlive
 messages regularly while scanning directories may fix this problem.

-- 
Ticket URL: <http://bbdev.fluffy.co.uk/trac/ticket/9>
Box Backup <http://www.fluffy.co.uk/boxbackup/>
An open source, completely automatic on-line backup system for UNIX.



More information about the Boxbackup-commit mailing list