Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 22:02:58 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        "Gregory (Grisha) Trubetskoy" <grisha@verio.net>
Cc:        freebsd-hubs@freebsd.org
Subject:   Re: 4.4 Availability
Message-ID:  <20010919220258.F79240@skriver.dk>
In-Reply-To: <Pine.BSF.4.32.0109191005130.92827-100000@localhost>; from grisha@verio.net on Wed, Sep 19, 2001 at 10:06:46AM -0400
References:  <20010918195628.A22501@windriver.com> <Pine.BSF.4.32.0109191005130.92827-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010919220258.F79240>