[Box Backup] (solved) More serious Win32 0.9f/RedHat 0.9 trouble...
Gary
boxbackup@fluffy.co.uk
Thu, 14 Apr 2005 09:53:00 -0700 (PDT)
Hi everyone,
The bad news is that I started running into the large backup file
problem under Cygwin as well as Win32 (native). The good news is that I
think I found out what the problem is.
Namely, BackupStoreFileDiff.cpp uses setitimer() to get a signal when a
file diff should terminate, due to MaximumDiffingTime in bbackupd.conf.
Cygwin does not support ITIMER_VIRTUAL for setitimer() (returns EINVAL,
not sure how Win32 native handles this), so the signal is never
received (the error is ignored silently with a TRACE()). Effectively, a
file diff continues for as long as it needs, and possibly longer than
an SSL connection/session timeout, thus resulting in an error message
mentioned before in this thread.
To fix under Cygwin, patch BackupStoreFileDiff.cpp to use ITIMER_REAL
in setitimer(), and SIGALRM in signal().
Gary
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com