From b10025c6e535a3665cdb69ee0eb39ccf1c10f2ec Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 24 Jun 2016 23:30:27 +0200 Subject: [PATCH] document sshd settings, fixes #545 --- docs/faq.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index 0d6a1185f..100abd89b 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -143,6 +143,24 @@ stops after a while (some minutes, hours, ... - not immediately) with That's a good question and we are trying to find a good answer in `ticket 636 `_. +Why am I seeing idle borg serve processes on the repo server? +------------------------------------------------------------- + +Maybe the ssh connection between client and server broke down and that was not +yet noticed on the server. Try these settings: + +:: + + # /etc/ssh/sshd_config on borg repo server - kill connection to client + # after ClientAliveCountMax * ClientAliveInterval seconds with no response + ClientAliveInterval 20 + ClientAliveCountMax 3 + +If you have multiple borg create ... ; borg create ... commands in a already +serialized way in a single script, you need to give them --lock-wait N (with N +being a bit more than the time the server needs to terminate broken down +connections and release the lock). + The borg cache eats way too much disk space, what can I do? -----------------------------------------------------------