From owner-freebsd-hubs Wed Sep 19 13: 3: 3 2001 Delivered-To: freebsd-hubs@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id AC62C37B415 for ; Wed, 19 Sep 2001 13:02:59 -0700 (PDT) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id 8712E5DA3; Wed, 19 Sep 2001 22:02:58 +0200 (CEST) Date: Wed, 19 Sep 2001 22:02:58 +0200 From: Jesper Skriver To: "Gregory (Grisha) Trubetskoy" Cc: freebsd-hubs@freebsd.org Subject: Re: 4.4 Availability Message-ID: <20010919220258.F79240@skriver.dk> References: <20010918195628.A22501@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from grisha@verio.net on Wed, Sep 19, 2001 at 10:06:46AM -0400 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub 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 On Wed, Sep 19, 2001 at 10:06:46AM -0400, Gregory (Grisha) Trubetskoy wrote: > > > This is fun to watch: > > ftp://ftp2.freebsd.org/etc/traffic-day.gif > > Traffic went from 5 to 35 megabits on ftp2 in the past couple of hours. ftp.FreeBSD.org has pushed between 200 and 260 Mbps most of the day. But there's a problem, when the number of connections increase to more than approx 900, the load skyrockets, often with a loadindex of 150 or more :-( This is using the stock ftpd from FreeBSD - it was worse using dgftp, havn't figured why yet. Currently ftpd is started from tcpserver, which allows to limit the number of concurrent connections, which helps to keep the load under control. A current snapshot: jesper@ftp% vmstat 1 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr da0 da1 in sy cs us sy id 137 9 0 375124109428 337 0 0 0 1811 1625 0 224 5390 3322 54380 1 80 19 18415 0 379112 84108 839 0 0 0 6404 0 0 244 14738 6646 283041 1 99 0 23011 0 379764 73868 645 0 0 0 2829 0 1 117 6997 8067 108663 1 99 0 21413 0 379536102636 855 0 0 0 14339 21608 2 180 34044 13818 711264 0 100 0 19616 0 379948 70680 520 0 0 0 7760 0 0 177 18985 4797 399380 1 99 0 21618 0 378992102292 125 7 0 0 2694 10744 0 154 7207 1426 155766 0 100 0 19317 0 379460 88880 388 0 1 0 3269 0 1 177 7419 2344 139995 0 100 0 19119 0 376524105820 567 0 0 0 6599 10775 0 146 15907 3559 353796 0 100 0 17614 0 373716 74020 231 0 0 0 7512 0 0 147 18143 3417 430951 1 99 0 jesper@ftp% ps aux | grep ^ftp | wc -l 840 PS: It's a dual 800 MHz PIII with 2 GB of memory, storage is raid5 using a adaptec 3210 controller, but it's not disk I/O that's the problem. /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hubs" in the body of the message