SSH login takes very long time...sometimes

Yar Tikhiy yar at
Fri Feb 24 09:41:15 PST 2006

On Sat, Feb 25, 2006 at 02:08:21AM +0900, Hajimu UMEMOTO wrote:
> >>>>> On Fri, 24 Feb 2006 15:51:53 +0200
> >>>>> Rostislav Krasny <rosti.bsd at> said:
> rosti> Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need
> rosti> more testing or discussion?
> It seems reasonable to me, and there are no objection here.  So, I've
> just committed both into HEAD.

IMHO the only principal reservation about changing RES_DFLRETRY
was that its effect was unobvious due to the bug you've just fixed.
Now all should be OK.  Thank you a lot!

To Rostislav: Could you do now, with the resolver fixes applied,
the following experiment: find how many dead nameservers in resolv.conf
it takes for sshd to start timing out a connection to it?  There
is still your PR open on this issue, so we should see whether
the default for LoginGraceTime needs a change, too.  Thanks!


More information about the freebsd-stable mailing list