From owner-freebsd-hubs Wed Mar 26 8:46:49 2003 Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A49E937B404 for ; Wed, 26 Mar 2003 08:46:46 -0800 (PST) Received: from daemon.kr.FreeBSD.org (daemon.kr.freebsd.org [211.176.62.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9988943F3F for ; Wed, 26 Mar 2003 08:46:45 -0800 (PST) (envelope-from cjh@kr.FreeBSD.org) Received: from gradius.wdb.co.kr (daemon [211.176.62.31]) by daemon.kr.FreeBSD.org (Postfix) with ESMTP id 283AD8F61C; Thu, 27 Mar 2003 01:46:41 +0900 (KST) Received: from localhost (localhost [127.0.0.1]) by gradius.wdb.co.kr (8.12.7/8.12.7) with ESMTP id h2QGjoLZ029595; Thu, 27 Mar 2003 01:45:51 +0900 (KST) (envelope-from cjh@kr.FreeBSD.org) Date: Thu, 27 Mar 2003 01:45:49 +0900 (KST) Message-Id: <20030327.014549.41660252.cjh@kr.FreeBSD.org> To: maxim@macomnet.ru Cc: dl@leo.org, hubs@FreeBSD.ORG Subject: Re: which ftpd to use? From: CHOI Junho In-Reply-To: <20030326174535.O99017@news1.macomnet.ru> References: <20030326143611.GA20796@atrbg11.informatik.tu-muenchen.de> <20030326174535.O99017@news1.macomnet.ru> Organization: Korea FreeBSD Users Group X-URL: http://www.kr.FreeBSD.org/~cjh X-Mailer: Mew version 3.2rc1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-18.1 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,RCVD_IN_RFCI,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-hubs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Maxim Konovalov Subject: Re: which ftpd to use? Date: Wed, 26 Mar 2003 17:48:40 +0300 (MSK) > On 15:36+0100, Mar 26, 2003, Daniel Lang wrote: > > > Hi folks, > > > > I'm looking for recommendations which ftpd to use for our > > heavy loaded server. I would like to support >>1000 connections. > > > > We used to have proftpd but, that one runs in to problems with > > respect to very long connection delays under load, etc. > > We are quite happy with native ftpd(8). 1500 - 2500 simultaneous > sessions, ~20TB output per month. I am also very happy with native ftpd of 4.7(lukemftpd not tried). It can process over 1000 connections if you tuned socket parameters(such as mbuf clusters) properly. proftpd cannot handle such situation. One bad point of native ftpd is simplicity.(also good point of ftpd) It cannot limit total users or total bandwidth. It can allow unlimited connections (that's too bad if too many requests come in) so I gave up running standalone mode and use inetd to limit total connection and per-ip connection. a little bit overhead, but reasonable. And it doesn't support wu-ftpd style xferlog(8) format. You need to convert ftpd's /var/log/ftpd log properly if you wish log analyzing. I think thttpd-style ftpd(single process, use kqueue() model, mmap() caching or utilizing sendfile() ) will be perfect solution for high load. But I cannot find such ftpd yet... I have the following entry in /etc/inetd.conf: ftp stream tcp nowait/800/1200/1 root /usr/libexec/ftpd ftpd -l -T 30 -t 15 -S > -- > Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hubs" in the body of the message -- CHOI Junho KFUG FreeBSD Project Web Data Bank Key fingerprint = 1369 7374 A45F F41A F3C0 07E3 4A01 C020 E602 60F5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message