delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:references | |
:mime-version:content-type:in-reply-to; q=dns; s=default; b=uCGE | |
L1L7+4J4OBoavNae+MwFxFRN+Pkrvgqkt2oPjFNHn4kcdFk4tQgKTWyUPVwG/gHg | |
xJ4E3HYT9gFh9E08up7SvYREn1G9OHH073Oo7hoq6k7/5F0ImHmSF4KohKjf2aim | |
Hv+AboXAGsFN8Jiwy9QgnLnapRvo6HvHhRrkpY4= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:references | |
:mime-version:content-type:in-reply-to; s=default; bh=DdClVKNKHE | |
8/ElnOJzdseqGU4Ko=; b=ytvJjnpMOBZF4OA2WP7xpAJRtsMRNufmHjMuZWgOxV | |
zfBEDwcglbMsU3+pQbk7kqskEDuH2tX8WZlEniCtfhV2b1QMLxGLIVX5I5SK0Vs0 | |
Rstp7HFycT8HkTdb3zEIWkxbdeo4xpw7WxuGgY1hF8PBSrG8AEk3l8pQH8X8fJJi | |
M= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-pa0-f48.google.com |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=NMH6t/t3XEzLZPtlP1/NPBcU2QxC536H7+ijEcHlAZ4=; b=PuHPFMA6p7cbDZhzL3eMdOnncgSNNOJ5xtMJVhAX7FcDTzBz3PzQjn6lz+68mg/YeX MZYiCNg4LXR+gQkek/pn7ACGPo2+sKUXYr2YXuUeGCFCx4OVGpjn66d0NmsqkTrQ9Q+g 95EChRdhWX+xKY9DnZmL+lnmMmUXhGe1dsehUiseCaFX5JhgonYz93CsHC6Ss2JWI2Hu NtNg3j0TdyDpsYRMSqHoVSBzhlQgVL084VZ2cR96BLPLe7F6G2mIvIdORY6+2/QCU2Bf 7XsHON1Vs+T5WaVsyQfWqsWINt9a6NdwDjiJNgDxhUodzqBcT9FhVvb9mcVpZhm1ApR2 zkFg== |
X-Gm-Message-State: | ALoCoQlXcBaP7KgT/+6lGcyalIvcypFyPcRY/6BfKTM7RZkTSityqbb2EeXmaygXh61TLgKF7HsM |
X-Received: | by 10.68.178.36 with SMTP id cv4mr13606283pbc.39.1381409656770; Thu, 10 Oct 2013 05:54:16 -0700 (PDT) |
Date: | Thu, 10 Oct 2013 08:56:57 -0400 |
From: | Chris Olin <chris AT chrisolin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh takes forever to interrupt-- known problem? |
Message-ID: | <20131010125654.GA2404@spock.chrisolin.com> |
References: | <20131009221915 DOT GA6345 AT plunk DOT org> <5255DAD2 DOT 5000707 AT cygwin DOT com> <20131009225852 DOT GA8151 AT plunk DOT org> <20131009232140 DOT GA9487 AT plunk DOT org> <5255E722 DOT 40008 AT cygwin DOT com> <20131010004449 DOT GA13071 AT plunk DOT org> <5256164E DOT 2010606 AT cygwin DOT com> <20131010072936 DOT GA29937 AT plunk DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <20131010072936.GA29937@plunk.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
X-IsSubscribed: | yes |
On 10/10/13 at 03:29am, Don Hatch wrote: > On Wed, Oct 09, 2013 at 10:51:58PM -0400, Larry Hall (Cygwin) wrote: > > OK, I'm going to assume that 'sshd' was actually started when > > you tried the latest rounds of tests. If this wasn't the case, you have > > another (probably non-Cygwin) SSH server running which is causing the > > problem. You'll need to shut that service down and start the Cygwin > > one before trying again. > > Right, if I want to connect to sshd on the windows machine, > I start the cygwin sshd manually if I haven't already. > However I can reproduce the problem with no cygwin sshd running at all, > by ssh'ing from the cygwin/windows machine to a linux machine. > > > > > Beyond that, you could try invoking invoking 'yes' through 'strace' and > > see if the output there gives you any clues. > > Tried that, on the linux machine I was ssh'ed into. > What I found was: > - if I ctrl-c approximately 1/8 to 1/4 second after starting "yes", > the program receives it and is killed 2.5 seconds later, > but the output (about 62558 bytes of "y\n"s) > takes 30 seconds more to finish spewing. > - if I ctrl-c approximately 1 second after starting "yes", > the program receives it and is killed 5.25 seconds later, > but the output (about 119278 bytes of "y\n"s) > takes 57 seconds more to finish spewing. > > So I'm thinking there's a buffer somewhere in all this > that is (too) capable of quickly recieving and buffering a whole lot of data, > but there's a bottleneck somewhere after that buffer > that makes it take a long time for the data to dribble out to the terminal. > I wonder where that buffer is, and if there's a way to decrease > the buffer size so that output-bound programs will block sooner, > for decreased throughput and increased interactivity, > which would be what I want, I think. > > > You could also try cutting > > down your path to eliminate potential interactions. > > I straced ssh when ssh'ing into the linux box... > no programs were run other than c:\cygwin\bin\ssh.exe > so that eliminates that possibility, right? > > > try adding "detect_bloda" to your Cygwin environment variable to see if > > it points to some conflicting program/service: > > > > <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html#cygwinenv-implemented-options> > > Tried setting env CYGWIN=detect_bloda > and ran ssh again, didn't see anything different (although I'm not sure exactly > what I should expect to see if it detects something fishy). > > > > > If those don't provide any clues, I'm out of ideas. :-( > > > Hope not :-) I appreciate your eyes on this. > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > WFM. http://showterm.io/68154da99e25927f4dacb Instead of viewing this as a software issue, is it possible something is blocking SSH connections to localhost, causing SSH to hang? What does `ssh -vv` tell you? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |