diff options
author | Christian Aistleitner <christian@quelltextlich.at> | 2013-04-08 00:19:40 +0200 |
---|---|---|
committer | Christian Aistleitner <christian@quelltextlich.at> | 2013-04-08 02:06:57 +0200 |
commit | 3d794595788da32585e6ef466df39c3caeb66959 (patch) | |
tree | 49f3e8d5546388cbd16d2e6204a3ac2e9e0ba406 /Documentation | |
parent | ca4db4eea03b31ba93eff1b49ed5ace83e2456b0 (diff) |
Disable closing idle Ssh connections again
By switching to Apache SSHD 0.6.0 in
812a823569339ec6b839a5c599b9bac7be73d8c6, we started to close idle Ssh
connections after 10 minutes of inactivity (See r1163164 of Apache
SSHD). This closing of idle connections caused problems for scripts
that listened for streamed events. Even though the scripts
reconnected, and gerrit accepted the connection attempts, sometimes no
events got passed through the new connections and the task queue
started to fill up.
Until we can isolate the root cause of the problem, we revert to the
old behaviour of not closing idle connections, and thereby mitigate
the problem.
Additionally, we allow to configure the idle timeout.
Change-Id: Ia4f226771b082057ecb45e6c2a9a8d809ec1389d
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config-gerrit.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt index 4899042173..7798ebc878 100644 --- a/Documentation/config-gerrit.txt +++ b/Documentation/config-gerrit.txt @@ -2368,6 +2368,20 @@ unit suffixes to express their setting: + By default, 2 minutes. +[[sshd.idleTimeout]]sshd.idleTimeout:: ++ +Time in seconds after which the server automatically terminates idle +connections (or 0 to disable closing of idle connections). Values +should use common unit suffixes to express their setting: ++ +* s, sec, second, seconds +* m, min, minute, minutes +* h, hr, hour, hours +* d, day, days + ++ +By default, 0. + [[sshd.maxConnectionsPerUser]]sshd.maxConnectionsPerUser:: + Maximum number of concurrent SSH sessions that a user account |