Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to increase the 250 limit of ssh connections?

Robert_Booke February 21, 2020

Is there a way to increase the 250 limit of ssh connections?  Could there be a setting to ensure that Bitbucket is balancing the load to the other nodes when this starts happening?  We see this almost everytime we restart the services or if we have a major peak hit and the system starts to slow up a bit with some users getting the limit message.

 

 

1 answer

1 vote
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2020

Hi Robert,

There is no hard limit of 250 SSH connections in Bitbucket Server. I suppose the message you are referring to is the "Bitbucket is reaching resource limits" message?

I would recommend taking at look at https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-is-reaching-resource-limits-779171381.html to understand what that message means and what can be done about it.

Cheers,

Christian

Premier Support Engineer

Atlassian

Richard Cross
Contributor
May 20, 2025

This is the error ssh clients get from Bitbucket:

[03:35:00.779] INFO SSH_MSG_SERVICE_ACCEPT received   
[03:35:01.039] INFO Authentications that can continue: publickey,keyboard-interactive,password   
[03:35:01.039] INFO Next authentication method: publickey   
[03:35:01.862] INFO Disconnecting from <bitbucket-server> port 7999   
SSH_MSG_DISCONNECT: 12 Too many concurrent connections (250) - max. allowed: 250   fatal: Could not read from remote repository.

 

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events