This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

slow telnet session start - inetutils 1.5-6



When logging-in to my Cygwin telnet server, running
inetutils 1.5-6 (see attached cygcheck.out) the time
between my entering the user password and getting the
motd output and a bash prompt is about 17 seconds.

This is so either when I login from a cygwin prompt in
another Windows machine on the LAN or from a Linux machine
on the LAn or from a cygwin prompt on the server machine,
using "telnet localhost".

There is only one subnet: 192.168.0.0/24

Looking for solutions in the cygwin mailing list I did
resolve the sluggishness in telnet presenting the user-name
prompt while applying the suggestion in  http://cygwin.com/ml/cygwin/2005-11/msg00277.html (on this
topic, may I suggest that "mkpasswd -l" generates
automatically a home directory for the SYSTEM account, e.g.
/tmp, as described in that post - that way we don't have to
do this manually or go through the research stage
repeatedly).

But the sluggish startup after I enter the password remains.

It doesn't seem to be sluggishness in the password
authentication itself: if I enter a wrong password, the
error response comes immediately. It is only when
authentication succeeds, and a session is set up, that it
takes long time.

To save some questions and answers that were mentioned in
other threads:
1. the Cygwin inetd service does not have "Allow service to
  interact with desktop" checked.
2. the primary DNS suffix of this computer is set to my
  local domain name.

No combination of setting or unsetting of the above made
a difference. I tried all the 4 combinations.

Also, following various suggestions in postings for
sluggish SSHD, I installed and setup (correctly, for all I
can see) a caching DNS server (ISC BIND 9.6.1) to enable
quick reverse DNS lookups. While the BIND server is clearly
active and doing its job (easy to check with the supplied
"dig" command-line utility) its presence or lack thereof
changed nothing. I can stop the BIND server and remove the
preferred reference to it in my "Connection" TCP/IP
configuration, or start the BIND and setup the localhost as
the preferred DNS server: nothing changes. And yes, I
configured the resolv.conf in \WINDOWS\system32\drivers\etc
correctly too.

Is there one more trick that I didn't find yet in the forum?

If not, how can I discover where those 17 seconds are spent.

For comparison, another Windows machine running the same
version of Cygwin and inetutils (1.5-6) presents the bash
prompt in a fraction of a second after entering the
password.

Thank you in advance for any suggestion or insight.

TioP


_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]