From owner-freebsd-questions@FreeBSD.ORG Sat May 20 17:22:11 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E228316A474 for ; Sat, 20 May 2006 17:22:11 +0000 (UTC) (envelope-from andrew.chace@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4FB43D46 for ; Sat, 20 May 2006 17:22:11 +0000 (GMT) (envelope-from andrew.chace@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so669296nzf for ; Sat, 20 May 2006 10:22:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=OHXE6Hik0J5vGQUCTBMZdqtgYm7RruYDnEOLwmDRKEkWb8bFxm6VU23ss9sHwjN2sZyiumtijUMv14tx9l+/Axe37WiLEvyv66xi9MCNs2qLGgcghKCZytE7APbNG8gs7RpmMrVIqh9/5wjg/laDSVFkwMS7cf1eaRdqhT1g0Sk= Received: by 10.37.21.15 with SMTP id y15mr3640319nzi; Sat, 20 May 2006 10:22:11 -0700 (PDT) Received: from ?192.168.0.6? ( [70.56.10.145]) by mx.gmail.com with ESMTP id j4sm1959834nzd.2006.05.20.10.22.09; Sat, 20 May 2006 10:22:09 -0700 (PDT) From: Andrew To: Andrew Pantyukhin In-Reply-To: References: Content-Type: text/plain Date: Sat, 20 May 2006 12:22:20 -0500 Message-Id: <1148145741.4480.34.camel@LatitudeFC5.network> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: sshd delay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 17:22:16 -0000 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"