delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/28/09:50:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 28 Feb 2012 15:49:39 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: slow ssh login on a cygwin machine
Message-ID: <20120228144939.GE23440@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>
MIME-Version: 1.0
In-Reply-To: <4F4CE2D2.1070602@nokia.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Feb 28 16:21, Ilya Dogolazky wrote:
> Hi !
> 
> I'm running sshd on a windows machine. Since last weekend (I have
> not installed anything) the logging in via ssh started to take 5 to
> 20 seconds (it was less than 1 second before that). It doesn't
> matter from which machine I'm logging in (tried localhost, some
> another cygwin machine, 3 different Linux machines: both staying in
> the same room or 1000 km away).

This kind of delay is often a result of the process trying to
access some remote filesystem.  Or, maybe you have DNS problems
on the server.

> And another pretty strange thing: the /var/log directory contains a
> file "lastlog" of size 445 Megabytes (445916640).

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.


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

- Raw text -


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