Hi Experts,We have Gerrit HA with 48 CPU . 180 RAM.SSh connections are getting queued after hitting 70-80 + connections at a time on each node.What should be the correct value to bear 100 + connections with this amount of Cores or it is not possible to server that much of connection looking at 48 cores for each node.Here is our config:[sshd]
listenAddress = *:29418
idleTimeout = 10m
backend = MINA
threads = 110
batchThreads = 24
On Thursday 18 July 2024 at 10:53:27 UTC+1 tech....@gmail.com wrote:Hi Experts,We have Gerrit HA with 48 CPU . 180 RAM.SSh connections are getting queued after hitting 70-80 + connections at a time on each node.What should be the correct value to bear 100 + connections with this amount of Cores or it is not possible to server that much of connection looking at 48 cores for each node.Here is our config:[sshd]
listenAddress = *:29418
idleTimeout = 10m
backend = MINA
threads = 110
batchThreads = 24What kind of users are the connections queueing for? Interactive or batch? You have 86(110-24) threads available for interactive, so what you're seeing makes sense.
In general I would recommend using not using Gerrit's SSH stack, you can search the mailing list for plenty of issues with it. If you can get your users to use HTTP callsI'm sure you'll see stability improvements.
On Thursday 18 July 2024 at 20:05:54 UTC+5:30 Daniele Sassoli wrote:On Thursday 18 July 2024 at 10:53:27 UTC+1 tech....@gmail.com wrote:Hi Experts,We have Gerrit HA with 48 CPU . 180 RAM.SSh connections are getting queued after hitting 70-80 + connections at a time on each node.What should be the correct value to bear 100 + connections with this amount of Cores or it is not possible to server that much of connection looking at 48 cores for each node.Here is our config:[sshd]
listenAddress = *:29418
idleTimeout = 10m
backend = MINA
threads = 110
batchThreads = 24What kind of users are the connections queueing for? Interactive or batch? You have 86(110-24) threads available for interactive, so what you're seeing makes sense.
In general I would recommend using not using Gerrit's SSH stack, you can search the mailing list for plenty of issues with it. If you can get your users to use HTTP callsI'm sure you'll see stability improvements.We have users from both service users and interactive ssh users.We are relying on ssh interaction for repo sync ro clone aosp code. So https is not ideal on such activities on our dev and build servers.With 48 cores what should be the ideal value of threads and batch threads to support interactive+ non interactive= 130+ connections for each node?
commandStartThreads = 10
maxConnectionsPerUser = 64
[httpd]
listenUrl = proxy-https://*:8080/
maxThreads = 800
requestLog = true
acceptorThreads = 48
minThreads = 49
maxQueued = 2000