X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 28 Feb 2012 16:50:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: slow ssh login on a cygwin machine Message-ID: <20120228155033.GI23440@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4F4CE2D2 DOT 1070602 AT nokia DOT com> <20120228144939 DOT GE23440 AT calimero DOT vinschen DOT de> <4F4CEC96 DOT 1060900 AT nokia DOT com> <20120228153338 DOT GG23440 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120228153338.GG23440@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam On Feb 28 16:33, Corinna Vinschen wrote: > On Feb 28 17:02, Ilya Dogolazky wrote: > > Hi Corinna ! > > > > 02/28/2012 04:49 PM, ext Corinna Vinschen пишет: > > > > >This kind of delay is often a result of the process trying to > > >access some remote filesystem. > > > > How can I investigate this (is there something like "lsof" in Windows)? > > There's a fuser in the psmisc package, but the latest version doesn't > work as expected, downgrading to the previous psmisc package helps > for now. But I don't think this will help you here. > > > If you're speaking about "process", do you mean the "sshd" process? > > Any process on the server started during login. > > > And what could be a reason for it to access any remote file system? > > Most likely it's something in your login scripts. For instance, > consider expressions like this: > > my_path=/foo > ls /$my_path > > This results in a `ls //foo' call. // is the top-level of all UNC > network paths. THis call will result in Cygwin searching for a machine > called foo. Oh, and then again... did you install the bash-completion package on the server? It's known to result in such delays sometimes. I never used it myself so Idon't know what it's doing. Somebody else might know more here. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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