From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4132 invoked by alias); 28 Feb 2012 15:03:03 -0000 Received: (qmail 4091 invoked by uid 22791); 28 Feb 2012 15:03:02 -0000 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 Received: from smtp.nokia.com (HELO mgw-da01.nokia.com) (147.243.128.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Feb 2012 15:02:49 +0000 Received: from [172.21.80.232] (esdhcp09nok080232.ntc.nokia.com [172.21.80.232]) by mgw-da01.nokia.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q1SF2k0k004372 for ; Tue, 28 Feb 2012 17:02:47 +0200 Message-ID: <4F4CEC96.1060900@nokia.com> Date: Tue, 28 Feb 2012 15:34:00 -0000 From: Ilya Dogolazky User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: slow ssh login on a cygwin machine References: <4F4CE2D2.1070602@nokia.com> <20120228144939.GE23440@calimero.vinschen.de> In-Reply-To: <20120228144939.GE23440@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Nokia-AV: Clean X-IsSubscribed: yes 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/msg00849.txt.bz2 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