-
-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Borg stalling on unstable connection #3754
Comments
borg uses ssh for the connection, so I guess the stalls have to be handled within ssh? |
Given that you're using borgmatic, this issue may also be of interest to you: https://projects.torsion.org/witten/borgmatic/issues/28 |
#3866 (comment) does that help to at least have it terminate instead of stalling? |
Since that troubled phone line got fixed I am not observing the issue anymore. However, said comment only reduces the global ssh keep-alive settings, such that ssh quits earlier on disconnected peers, while I observed that borg did not terminate even though ssh had terminated. So I fear it would not help. |
@robertschulze btw, did you make the corresponding ssh/sshd settings on both sides? |
Indeed, I tried settings such as these plus a bunch more on client as well as on server side. But in the end this cannot cure the line - if ssh looses too many packages it breaks down regardless of the settings. What I observed was that the ssh process exitting did not always result in direct break of the borg process. However, (un)fortunately, since the line appears to be fixed now, it is hard to check/replicate the issue again. |
Considering the age of this ticket and that it is mostly due to the bad connection, I am closing this. If somebody can reproduce with a recent borg version, please file a new bug report. |
Hi,
I have set up a Borg backup on an unstable Internet connection (browser requests time out and packets are lost). Instead of timing out and retrying Borg completely stalls and (apparently) does nothing anymore
(no CPU usage, no network traffic for 30+ minutes). When I cancel using Ctrl+C I obtain the following dump:
Would it be possible to include such logic (or possibly is there already such option?).
Best,
Robert
The text was updated successfully, but these errors were encountered: