Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 12:22:20 -0500
From:      Andrew <andrew.chace@gmail.com>
To:        Andrew Pantyukhin <infofarmer@gmail.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: sshd delay
Message-ID:  <1148145741.4480.34.camel@LatitudeFC5.network>
In-Reply-To: <cb5206420605200626j4dc33586ndb6480ca140692f7@mail.gmail.com>
References:  <cb5206420605200626j4dc33586ndb6480ca140692f7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

This is perhaps a long shot, but anyway... 

I assume the reason you tried turning off DNS look-ups is that remote
host cannot resolve the local hostname, or it can, but takes a
relatively long time to do so. You might check and see if syslog has DNS
look-ups enabled. It's been a while, but I think we had a similar
problem and don't ask me why, but turning off DNS look-ups for syslog
solved the problem. I can't believe that sshd would block waiting for
syslog, but I suppose it could be true...

-Andrew


On Sat, 2006-05-20 at 17:26 +0400, Andrew Pantyukhin wrote:
> I have a problem. When I run sshd -ddd I get this:
> (I get the same delay without -ddd, of course)
> 
> <...>
> debug3: mm_pty_allocate: waiting for MONITOR_ANS_PTY
> debug3: mm_request_receive_expect entering: type 26
> debug3: mm_request_receive entering
> ===> <60-90 seconds of delay>
> debug3: mm_request_send entering: type 26
> <...>
> 
> I started getting the delay a few days ago, on a number of
> hosts running 6.0-RELEASE/i386. I tried setting UseDNS
> off - to no effect. The sshd process is in state sbwait during
> the delay. Any ideas?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148145741.4480.34.camel>