From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27444 invoked by alias); 28 Feb 2012 15:34:45 -0000 Received: (qmail 25800 invoked by uid 22791); 28 Feb 2012 15:33:55 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 28 Feb 2012 15:33:41 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 00EC42C006D; Tue, 28 Feb 2012 16:33:38 +0100 (CET) Date: Tue, 28 Feb 2012 15:50:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: slow ssh login on a cygwin machine Message-ID: <20120228153338.GG23440@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4F4CE2D2.1070602@nokia.com> <20120228144939.GE23440@calimero.vinschen.de> <4F4CEC96.1060900@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F4CEC96.1060900@nokia.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-02/txt/msg00851.txt.bz2 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. > > Or, maybe you have DNS problems > > on the server. > > What kind of "DNS problems" could it be? I'm not an expert, but any kind of DNS communication problem can result in delays trying to resolve a machine name. I don't know, it's just some arbitrary idea for the potential cause of a spurious delay. 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