From owner-freebsd-questions Tue Apr 23 16:38:16 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA17378 for questions-outgoing; Tue, 23 Apr 1996 16:38:16 -0700 (PDT) Received: from joseph.dswnet.com (joseph.dswnet.com [206.214.66.80]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA17356 Tue, 23 Apr 1996 16:38:10 -0700 (PDT) Received: (from joseph@localhost) by joseph.dswnet.com (8.6.12/8.6.12) id QAA02550; Tue, 23 Apr 1996 16:38:21 -0700 Date: Tue, 23 Apr 1996 16:38:21 -0700 Message-ID: X-Mailer: XFMail 0.3-beta [p0] on FreeBSD In-Reply-To: <01BB30FE.C84AEAC0@webster.unety.net> Reply-To: joseph@joseph.dswnet.com Organization: Data Systems West Enterprise Solutions From: ja To: Jim Fleming Subject: RE: Bandwidth limited FTP server Cc: "questions@FreeBSD.ORG" , "isp@FreeBSD.ORG" Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue Apr 23 17:22:30 1996 Jim Fleming wrote: >>On Tuesday, April 23, 1996 9:24 AM, Irvine Short[SMTP:ishort@pcm.co.za] wrote: >@Hi All >@ >@Any idea what ftpd to get hold of to limit bandwidth for anon ftp? >@ >@We are on a 28800 leased line and we want to limit the number of >@anonymous users and what bandwidth they use otherwise our web server >@becomes useless. >@ >@I know that when I used to log into ftp.funet.fi I had limited >@bandwidth. >@ >@Regards, >@ >@Irvine Short >@ > >Has anyone tried to connect the two serial ports together on a standard >PC and to route traffic in and out of the same machine to limit bandwidth...? > >-- >Jim Fleming >UNETY Systems, Inc. >Naperville, IL 60563 > >e-mail: JimFleming@unety.net > FTPD is a connection orriented protocol and as such has to abide by TCP/IP conventions. Bandwidth limitations can be imposed by such programs in artificial ways. Under unix the ftpd demon can be fired up in two ways. For anon users it can be fired up as a lower priorty process and thus will run less often resulting in a lower load on the CPU,DISK and www server. For account users it can be run at another priority. There are a Number of ways to accomphish this. you can create a background process to renice the ftpd for anon usres. -- for more info email me at : joseph@joseph.dswnet.com Sr Sys. Engineer at Data Systems West