public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ilya Dogolazky <ilya.dogolazky@nokia.com>
To: cygwin@cygwin.com
Subject: Re: slow ssh login on a cygwin machine
Date: Tue, 28 Feb 2012 15:34:00 -0000	[thread overview]
Message-ID: <4F4CEC96.1060900@nokia.com> (raw)
In-Reply-To: <20120228144939.GE23440@calimero.vinschen.de>

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

  reply	other threads:[~2012-02-28 15:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 15:00 Ilya Dogolazky
2012-02-28 15:03 ` Corinna Vinschen
2012-02-28 15:34   ` Ilya Dogolazky [this message]
2012-02-28 15:50     ` Corinna Vinschen
2012-02-28 16:55       ` Corinna Vinschen
2012-02-29 14:40         ` Ilya Dogolazky
2012-02-29 15:17           ` Corinna Vinschen
2012-08-29 20:12             ` bbcolo22
2012-08-29 20:42               ` Larry Hall (Cygwin)
2012-08-29 21:04                 ` bbcolo22
2012-08-29 22:19                   ` Christopher Faylor
2012-08-29 23:42                     ` bbcolo22

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4CEC96.1060900@nokia.com \
    --to=ilya.dogolazky@nokia.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).