Some questions about sshd.backend?

55 views
Skip to first unread message

Hu Xiuyun

unread,
Nov 28, 2015, 1:36:18 AM11/28/15
to Repo and Gerrit Discussion
The version of our gerrit is v2.10.5. I have a question about the value of sshd.backend.
When we choose as "NIO2", and start to run tha commands "show-connections". But the time that this connection started is always 08:00:00, and the idle time is not correct, as followings:
Session     Start     Idle   User            Remote Host
--------------------------------------------------------------
03859c57 08:00:00 54:19:14   p***s 10.**.**.138
c3a2241b 08:00:00 54:19:14   p***s        10.**.**.159
aa965c1c 08:00:00 54:19:14   y***9       10.**.**.72
c43d9738 08:00:00 54:19:14   p***s        10.**.**.226
0edd093d 08:00:00 54:19:14   p***s 10.**.**.127
a103f3a5 08:00:00 54:19:14   p***s        10.**.**.226
4811e1a8 08:00:00 54:19:14   j***i      10.**.**.126
877bb9db 08:00:00 54:19:14   p***s        10.**.**.53
f819f470 08:00:00 54:19:14   p***s       10.**.**.226
5a5133f7 08:00:00 54:19:14  p***s       10.**.**.226
c6fa57b4 08:00:00 54:19:14  p***s        10.**.**.226
4d3f4247 08:00:00 54:19:14   p***s       10.**.**.53
c1ed5f4a 08:00:00 54:19:14   q***5       10.**.**.60
47e9e3ab 08:00:00 54:19:14   z***2       10.**.**.91
5fd63688 08:00:00 54:19:14   j***i      10.**.**.126
00c02b7c 08:00:00 54:19:14   y***1       10.**.**.132
9bd04e56 08:00:00 54:19:14   z***3       10.**.**.113
55386705 08:00:00 54:19:14   z***3       10.**.**.113
cca62ee4 08:00:00 54:19:14   y***1       10.**.**.122
f2a3a783 08:00:00 54:19:14   y***1       10.**.**.122

When we choose as "MINA", if the connection is hold on, the  value of Remote Host is "?" instead of the real ip.

What is the better choice of sshd.backend, and are the behaviors above regular?

Thanks.

Doug Kelly

unread,
Dec 8, 2015, 2:00:32 PM12/8/15
to Repo and Gerrit Discussion
There's currently a resource leak with the MINA backend with Gerrit 2.10+ (I think):

I believe the NIO backend has other issues, but I can't say for certain.
Message has been deleted

Hu Xiuyun

unread,
Dec 8, 2015, 9:17:18 PM12/8/15
to Repo and Gerrit Discussion
Thanks. And when will the issue be fixed? 

Doug Kelly

unread,
Dec 9, 2015, 8:41:02 AM12/9/15
to Repo and Gerrit Discussion
I wish I knew.  Unfortunately, it's been affecting us pretty badly, too, but I'm at least fairly confident the issue is in MINA (either SSHD or Core).  Upgrading to SSHD 1.0.0 was a suggestion, but this is a major undertaking, as many APIs have changed.
Reply all
Reply to author
Forward
0 new messages