My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 221: Deadlock in SSHD causes server to be non-responsive
  Back to list
Status:  Released
Owner:  code-rev...@gtempaccount.com
Closed:  Oct 2012


Sign in to add a comment
 
Reported by code-rev...@gtempaccount.com, Sep 24, 2009
Reported by Shawn Pearce <sop@google.com> on Mon Jun 15 22:59:07 PDT 2009
Source: JIRA GERRIT-222
Affected Version: 2.0

There is a known deadlock in the MINA SSHD which can cause the SSHD to
(eventually) become non-responsive to clients, as the various NIO threads
deadlock and are unable to continue.  The symptom is often seen where a client
can't make any progress updating a project, but another client can read it
just fine.  This appears to occur due to random assignment of new client to
NIO processor thread, if the assignment goes to a deadlocked thread, the
client become stuck.

https://issues.apache.org/jira/browse/SSHD-28 is tracking the upstream issue,
and has a potential fix.
Sep 24, 2009
#1 code-rev...@gtempaccount.com
Comment by Shawn Pearce <sop@google.com> on Wed Jun 24 08:13:56 PDT 2009

Gerrit 2.0.15 references a custom build of MINA SSHD which contains the patch
proposed in SSHD-28.  I'm still waiting for upstream to accept the patch in.
Sep 24, 2009
#2 code-rev...@gtempaccount.com
Update by Shawn Pearce <sop@google.com> on Wed Jul 01 15:56:23 PDT 2009

Fixed in version 2.0.15.
Sep 24, 2009
#3 code-rev...@gtempaccount.com
Update by Shawn Pearce <sop@google.com> on Wed Jul 01 15:56:28 PDT 2009
Sep 24, 2009
#4 code-rev...@gtempaccount.com
Comment by Shawn Pearce <sop@google.com> on Wed Jul 29 08:54:38 PDT 2009

Fixed by https://review.source.android.com/10783 (MINA SSHD r798139)
Sep 24, 2009
#5 code-rev...@gtempaccount.com
Update by Shawn Pearce <sop@google.com> on Wed Jul 29 08:54:38 PDT 2009

Fixed in version 2.0.18.
Status: Fixed
Sep 25, 2009
#6 code-rev...@gtempaccount.com
(No comment was entered for this change.)
Labels: FixedIn-2.0.18
Oct 25, 2012
#7 sop@google.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting