[OpenStack-Infra] Failed to SSH login into the gerrit(Too many concurrent connections )

Rikimaru Honjo honjo.rikimaru at ntt-tx.co.jp
Mon Aug 26 02:59:59 UTC 2019


Hi Clark,

On 2019/08/24 6:07, Clark Boylan wrote:
> On Fri, Aug 23, 2019, at 9:40 AM, Rikimaru Honjo wrote:
>> Hello,
>>
>> I have my zuulv3 instance for 3rd party CI.
>>
>> I stopped & restarted it several times to test my configuration
>> yesterday.
>> As aresult, my zuulv3 instance started to fail to connect the
>> gerrit(review.opendev.org).
>> The following error was occurred at that time.
>>
>>> Received disconnect from 104.130.246.32 port 29418:12: Too many concurrent connections (64) - max. allowed: 64
>>
>> I tried to run ssh command[1] manually. It was also failed by same reason.
>> And, I also tried it on other machine. The result was the same.
>>
>> How can I resolve this issue?
> 
> There is only one user with 64 connections currently so I am going to assume this is your third party CI user (it is NTT SystemFault MasakariIntegration CI). I've gone ahead and closed all 64 existing connections in Gerrit.

Thank you for closing ssh connections!
I can connect now.

> This is typically caused by ssh clients that don't properly close their ssh connection with gerrit. At one point this happened because of a bug in Zuul. That bug has long since been fixed; you should ensure that you are running an up to date version of zuul and paramiko to avoid this. Firewalls that timeout connections may also cause this to happen.

OK.
I haven't updated zuul for a long time. I try to update it.

> Also for future debugging it helps to get the client name and/or ID so that we can be sure we are identifying the correct accounts and connections on the Gerrit side of things.

It sounds great.

Best regards,

>>
>> [1]
>> e.g. "gerrit stream-events",  "git-upload-pack <repository path>"
>>
>> Best regards,
>> -- 
>> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>> Rikimaru Honjo
>> E-mail:honjo.rikimaru at ntt-tx.co.jp
> 
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
> 

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Rikimaru Honjo
E-mail:honjo.rikimaru at ntt-tx.co.jp




More information about the OpenStack-Infra mailing list