RE: how to debug ssh slow connection issues.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 23 May 2008, Jason Pyeron wrote:

debug3: Normalising mapped IPv4 in IPv6 address
debug3: Trying to reverse map address 192.168.1.80.

paused 7 seconds

Here, obviously, is part of the problem. Your name service isn't answering reverse lookups for your LAN addresses -- or it least it isn't answering them in a timely manner. Fixing that, either through DNS or /etc/hosts, will help a bunch.

[root@xxxxxxxxxxxx ~]# date && host 192.168.1.80  && date && host
host80.1.internal.pdinc.us && date Fri May 23 13:55:52 EDT 2008
80.1.168.192.in-addr.arpa domain name pointer host80.1.internal.pdinc.us.
Fri May 23 13:55:52 EDT 2008
host80.1.internal.pdinc.us has address 192.168.1.80 Fri May 23 13:55:52 EDT
2008
[root@xxxxxxxxxxxx ~]#

Hmmm, does not take 7 seconds.

User-space utilities like /usr/bin/host don't always provide an accurate reflection of the name services inherited by init- or kernel-launched processes -- especially if the network wasn't (for reasons unknown) fully functional at boot time.

Do you remember if there were any network timeouts when you booted the machine in question?

Are you running nscd?

I'm still inclined to believe that hostname-lookup issues are involved here; an strace with timestamps might provide a better glimpse of the exact system calls that are timing out.

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux