🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41275

Re: News Setup

#41275
From: Marc Laros
Date: Wed, 03 Nov 1999 00:00
90 lines
4575 bytes
We are a cable-isp. Thats why we have so many users. Cable users also read news
more frequently than "normal" dialup-users + they seem to be addicted to download
a shitload of binaries :o)

The 2 readers running diablo readerd are both identical:
        Running Linux with a 2.2.13 kernel.
        Dual p3 450 - 512 mb RAM
        3  x 17 GB UW-SCSI disks


        the spool on the machines = 2 x17 gb in total

        hashtable size    =     4m
        maxconnect          100
        readerforks            40
        readerthreats        25

The main transit running innd:
        Running SunOS 5.6
        E-450  - 512 mb

    spool : 200 gb total, spool is always kept at about 170 gb.

            /dev/md/dsk/d12      202999992 172209448 30551264    85%    /cycbuffs

    This machine gets about 20 feeds from various isp's and companies. Filtering
of the feeds is also done here (we might wanna make a seperate machine for that?)

Top output on readers:

  4:22pm  up 2 days,  2:56,  1 user,  load average: 3.44, 4.60, 5.14
87 processes: 86 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  2.2% user,  6.0% system,  0.0% nice,  9.7% idle
Mem:  517488K av, 514960K used,   2528K free, 211116K shrd, 117508K buff
Swap: 132088K av,    120K used, 131968K free                322920K cached
  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
18454 root      15   0  1012 1012   804 R       0  2.3  0.1   0:00 top
17191 news       5   0  2372 2372   456 D       0  0.9  0.4   0:45 dexpireover
17193 news       1   0  6732 6732  4620 S       0  0.4  1.3   0:13 dreaderd
17202 news       3   0  4252 4252  3748 S       0  0.4  0.8   0:15 dreaderd
17219 news       3   0  5564 5564  3864 S       0  0.4  1.0   0:13 dreaderd
    1 root       0   0   484  484   412 S       0  0.0  0.0   0:01 init
    2 root       2   0     0    0     0 SW      0  0.0  0.0   2:56 kflushd
    3 root       4   0     0    0     0 SW      0  0.0  0.0  17:22 kupdate

Top output on E450:

last pid:  7094;  load averages:  0.27,  0.25,  0.25    16:08:06
140 processes: 139 sleeping, 1 on cpu

Memory: 512M real, 8168K free, 116M swap in use, 1932M swap free


  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
29022 news       1  60    0  179M   75M sleep  59.3H  5.71% innd
  167 news       1  46    4   59M   10M sleep  10:53  1.76% innfeed
  950 news       1  32    2 3696K 1824K sleep   3:24  0.60% actived
 7093 root       1  28    0 1640K 1368K cpu1    0:00  0.51% top
  166 news       1  60    4 1728K 1096K sleep   1:13  0.18% overchan
 2011 news       1  46    4  127M 2272K sleep   0:01  0.07% nnrpd

-

I was personally thinking about maybe using news caching software to reduce the
loads. Tell me what you guys think please :)

Greetz
    Marc Laros


Russell Vincent wrote:

> Marc Laros <mlaros@xs4all.nl> wrote:
> > Performance sucks now though. I think dreaderd isnt good at handling about
> > 1500 ppl reading new at an average of 2,5 kb/sec. We started out with 1 news
> > server running innd. When we got more users we transferred the readers to
> > seperate machines, running diablo-readerd.
>
> Can you post some more details about the hardware you are running on.
> Memory, size of spool, perhaps even a sample top output (just the
> first 5-6 lines) and what your diablo.config reader setup is (readerforks,
> readerthreads, etc).
>
> 1500 simultaneous readers is quite a large number for any machine (or
> 2 machines) and most likely needs some interesting tuning.  :-)
>
>  -Russell


Technical Details
Message-ID: <3820545C.F4D0B469@xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <382024D3.516ADCF@xs4all.nl> <slrn820970.65j.tuuli.tuominen@yendor.it.helsinki.fi> <38202DD7.81B4A0D3@xs4all.nl> <7vpfto$rmj$1@wave.pipex.net>

Show Full Headers
Complete Article Headers
Message-ID: <3820545C.F4D0B469@xs4all.nl>
Subject: Re: News Setup
Date: Wed, 03 Nov 1999 00:00:00 +0000
From: Marc Laros <mlaros@xs4all.nl>
References: <382024D3.516ADCF@xs4all.nl> <slrn820970.65j.tuuli.tuominen@yendor.it.helsinki.fi> <38202DD7.81B4A0D3@xs4all.nl> <7vpfto$rmj$1@wave.pipex.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 543982082
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
X-Server-Date: 03 Nov 1999 15:27:30 GMT
Content-Type: text/plain; charset=us-ascii
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@casema.net
X-Trace: reader2.casema.net 941642850 11233 195.96.96.6
MIME-Version: 1.0
Reply-To: mlaros@xs4all.nl
Newsgroups: news.software.nntp