From owner-freebsd-stable@FreeBSD.ORG Tue Feb 2 19:36:19 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F18BA1065703 for ; Tue, 2 Feb 2010 19:36:19 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3E88FC19 for ; Tue, 2 Feb 2010 19:36:19 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 95C7BE044F; Wed, 3 Feb 2010 08:36:16 +1300 (NZDT) Date: Wed, 3 Feb 2010 08:36:16 +1300 From: Jonathan Chen To: freebsd-stable@freebsd.org Message-ID: <20100202193616.GA16953@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: 8-STABLE outgoing scp stalling frequently. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 19:36:20 -0000 Hi, I've noticed that on a recent 8-STABLE/amd64, scp(1) appears to be stalling very frequently. This is the output from a "scp -v -v" of a 300Mb file from a local to a remote within an internal network: [.. authentication negotiation ...] debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 131072 debug2: channel_input_status_confirm: type 99 id 0 debug2: exec request accepted on channel 0 Sending file modes: C0700 367085370 file1 file1 0% 192KB 140.0KB/s 42:39 ETAdebug2: channel 0: rcvd adjust 65593 file1 0% 256KB 78.2KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 336KB 41.6KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 416KB 26.9KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 496KB 17.1KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 576KB 12.4KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 656KB 11.3KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 736KB 9.7KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 816KB 9.9KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 896KB 9.0KB/s - stalled -debug2: channel 0: rcvd adjust 81920 file1 0% 976KB 9.5KB/s - stalled -debug2: channel 0: rcvd adjust 81920 /etc/ssh/ssh_config is untouched. Oddly enough a scp of a remote file to the local machine is blindingly fast. Does anyone know what's happening here? Any tips on how to track down what the problem is? The network config appears to be fine - fetch(1) will have downloads speeds of up to 300KB/s. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925