delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/28/10:03:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F4CEC96.1060900@nokia.com>
Date: Tue, 28 Feb 2012 17:02:46 +0200
From: Ilya Dogolazky <ilya DOT dogolazky AT nokia DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: slow ssh login on a cygwin machine
References: <4F4CE2D2 DOT 1070602 AT nokia DOT com> <20120228144939 DOT GE23440 AT calimero DOT vinschen DOT de>
In-Reply-To: <20120228144939.GE23440@calimero.vinschen.de>
X-Nokia-AV: Clean
X-IsSubscribed: yes
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
Note-from-DJ: This may be spam

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)?

If you're speaking about "process", do you mean the "sshd" process? And 
what could be a reason for it to access any remote file system? My home 
directory is on the hard drive, I surely use some remote file systems 
sometimes (by opening file explorer and copying files), but I don't see 
any reason for sshd to do the same.

Is there any explicit way to "unmount everything remote" in windows? I 
close all the explorer windows, but of course it could be not enough.

 > Or, maybe you have DNS problems
 > on the server.

What kind of "DNS problems" could it be? I disabled reverse DNS query 
(if I correctly understand meaning of the option "UseDNS") and see "last 
login from xxx.xxx.xxx.xxx" message now (where xxx are digits).

> That size is not overly surprising.  The size of the lastlog file
> depends on the highest uid used to login into the system.  In your case
> you seem have pretty large uids.  Every uid slot in lastlog takes
> 276 bytes.  So you had login attempts from a user with a uid 1615639.
Oh, thanks! I was getting over-suspicious :)

Cheers,

Ilya

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019