From owner-freebsd-net@FreeBSD.ORG Wed Aug 10 05:54:25 2005 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 548FD16A6FA; Wed, 10 Aug 2005 05:53:59 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57CCF45616; Wed, 10 Aug 2005 02:47:23 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.3/8.13.3) with ESMTP id j7A2lEqg091752; Wed, 10 Aug 2005 06:47:15 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Wed, 10 Aug 2005 06:47:14 +0400 (MSD) From: Maxim Konovalov To: Mikhail Teterin In-Reply-To: <200508091549.15676.mi+mx@aldan.algebra.com> Message-ID: <20050810064601.N91726@mp2.macomnet.net> References: <200508091549.15676.mi+mx@aldan.algebra.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org, net@freebsd.org Subject: Re: very busy ftpd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 05:54:26 -0000 On Tue, 9 Aug 2005, 15:49-0400, Mikhail Teterin wrote: > Hi! > > I just noticed, that uploading a file over a LANG (at around > 5.7Mb/s) resulted in around 25% CPU consumption by the ftpd. > > I think, that's unusual for a Pentium4 -- what is the process doing? Check the client does not use ascii mode when uploading (getc() vs read()). -- Maxim Konovalov