[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] occasional ConnectionReadErrors
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] occasional ConnectionReadErrors |
Date: |
Mon, 21 Oct 2002 18:05:59 -0700 |
>>>>> "LH" == Laurin Herlt <address@hidden>
>>>>> wrote the following on Mon, 21 Oct 2002 10:14:00 +0200
LH> hi, i am using rdiff-backup 0.10.1 (and python 2.2.1) to backup
LH> 8 different linux servers in a lan. works perfectly. but the
LH> rdiff-backup of an externel webserver occasionaly fails. the
LH> connection is a 2mbit sdsl line which works without problems for
LH> about a year now. so i guess this is not the problem.
It seems your session completed fine, and a spurious error was raised
as the server was quitting. I'm not sure what is causing this
(doesn't happen for me, but I don't have a modem/dsl), but it seems
the server now is not officially closing its stdin/stdout. Could that
be the problem? You may want to try the attached patch and tell me if
it helps at all. I don't think it will hurt anything. Also, if the
server has any standard error output, that might be helpful.
--
Ben Escoto
Index: connection.py
===================================================================
RCS file: /home/ben/prog/CVS/rdiff-backup/src/connection.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- connection.py 19 Jul 2002 07:25:00 -0000 1.13
+++ connection.py 22 Oct 2002 01:00:06 -0000 1.14
@@ -313,6 +313,7 @@
try: req_num, object = self._get()
except ConnectionQuit:
self._put("quitting", self.get_new_req_num())
+ self._close()
return
if req_num == desired_req_num: return object
else:
pgpv4EQCYZKXB.pgp
Description: PGP signature