🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50445

Re: FreeBSD/Diablo problem

#50445
From: Bjorn
Date: Tue, 06 Feb 2001 09:35
221 lines
9528 bytes
Well, have you tried the dNNN option?
  
I also never use the rtflush, maybe i should?
  
I have set up the disks as follow.
/dev/da1c           8844724  1330392  6806755    16%    /news
/dev/da2c           8844724    25656  8111491     0%    /news/dqueue
/dev/vinum/newsrc 103324445 86915600  8142890    91%    /news/spool

There is some work around the spool dirs, they are looking in to
splitting it up since there is a limit of the fs. The way it works today
is not a good and fast way to work. And there are a nice option when you
use diablo as a reading box.
    
I still recommend you to upgrade from release to stable of FreeBSD.

You could try to enable the softupdates of the disks. there should not
be
a big performance boost.. It may be even slower on the spooldir, since
the way the spool works.

Oh, i hope you have done the tuning around sysctl, you have a optoin to
set down the tcp timeout. Which will probably help you to close down
idle tcp-connections.

/sbin/sysctl -w kern.maxvnodes=16384
/sbin/sysctl -w kern.maxfiles=16384
/sbin/sysctl -w net.inet.tcp.always_keepalive=1
/sbin/sysctl -w net.inet.tcp.keepidle=1800
/sbin/sysctl -w net.inet.tcp.rfc1323=1
/sbin/sysctl -w net.inet.tcp.rfc1644=0

According to the tuning spec, normaly net.inet.tcp.keepidle have a
value  
of 7200000.

Just add those lines to rc.local or something. You could always run
these
lines at the prompt.

/Bjorn

Marcel Lemmen wrote:
> 
> There are some dspoolout pocesses which seems not to go away.
> I've disabled all the rtflush options in dnewfeeds for all the
> non-realtime feeds, there are about 12 realtime feeds, 8 are a full-feed.
> 
> I'll try to move the logging to the spool later this day, maybe that's the
> problem. The dqueue and history already on the spool.
> 
> All the feeds where realtime, at this moment not anymore.
> 
> Cheers,
> 
> Marcel
> 
> On Tue, 6 Feb 2001, Bjorn wrote:
> 
> > Date: Tue, 06 Feb 2001 09:30:14 +0100
> > From: Bjorn <bjorn@behindthedecks.com>
> > To: Marcel Lemmen <marcel@support.nl>
> > Newsgroups: news.software.nntp
> > Subject: Re: FreeBSD/Diablo problem
> >
> >
> > I also added realtime, instead of making it run on a crontime basis.
> > you could also try to use the dNNN option in dnntpspool.ctl.
> > so it dont start sending all at the same time.
> >
> > But you should not have that problem, you cpu should be able to keep up.
> > If its not the problem that Terry Kennedy describes.
> >
> > Since you run releasy, maybe you should try to update your src tree to
> > stable
> > and do a new world. And after that rebuild diablo.
> >
> > /Bjorn
> >
> > Marcel Lemmen wrote:
> > >
> > > > There should not be any problem with Adaptec 29160 SCSI adapter.
> > > > I have not tried the card, but i see no problem why the cad should
> > > > not
> > > > work. Have you tried with a 2940U2W card? if the load is still high you
> > > > probably could exclude the driver. (If its using the same driver, that
> > > > is)
> > >
> > > We don't have a 2940U2W anymore on stock, besides it's a running box so I
> > > can't halt it that long ;(
> > >
> > > > One thing I have learned is that never use the max amount of memory that
> > > > the MB can handle. I had one computer that said it could handle 1GB of
> > > > ram.
> > > > but when we plugged it in, the machine got all wacky.
> > > > So I always try to select MBs that can handle twice the amount of memory
> > > > that i want to use.
> > >
> > > The MB can handle 4GB mem, should be enough ;)
> > > Can't be the problem either.
> > >
> > > > You cant look to see what takes all resources, like IO, user...
> > > > The bottleneck should not be the disks.
> > > >
> > > > You could also test the memory. its under /usr/ports/sysutils/memtest
> > >
> > > Already done that, it run 2 days without problems.
> > >
> > > > It could also be the build of diablo. Have you upgraded the OS without
> > > > recompiling diablo?
> > > > Ive noticed that some aplications needs rebuilding when doing a make
> > > > world.
> > >
> > > It's a complete new installation, both FreeBSD and Diablo (not from the
> > > port).
> > >
> > > I think the problem is with the dnewslink/dspoolout processes. When
> > > they're gone, the load is back to normal. There are around 80-100
> > > dnewslink processes.
> > >
> > > Cheers,
> > >
> > > Marcel
> > >
> > > >
> > > > /Bjorn
> > > >
> > > > Marcel Lemmen wrote:
> > > > >
> > > > > I've allready tried to rebuild the history file, this resulted indeed in a
> > > > > performance increase, but the load is still around 18.
> > > > >
> > > > > I've enabled the AHC_ALLOW_MEMIO in the kernel, but the server didn't
> > > > > start anymore ;( After the crash, I've disabled the dspoolout processes in
> > > > > cron, which resulted in a low load, enableing the dspoolout resulted in
> > > > > the increase again.
> > > > >
> > > > > There's no problem with the performance, last night it send around 80MB
> > > > > and received 25MB, looks pretty normal to me, but the load is abnormal
> > > > > high.
> > > > >
> > > > > Kind regards,
> > > > >
> > > > > Marcel Lemmen
> > > > > NewsMaster Support Net
> > > > >
> > > > > On Mon, 5 Feb 2001, Bjorn wrote:
> > > > >
> > > > > > Date: Mon, 05 Feb 2001 13:37:12 +0100
> > > > > > From: Bjorn <bjorn@behindthedecks.com>
> > > > > > To: Marcel Lemmen <marcel@support.nl>
> > > > > > Newsgroups: news.software.nntp
> > > > > > Subject: Re: FreeBSD/Diablo problem
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I had simular problem when uppgrading from 1.29 to 2.0..
> > > > > > I went back to 1.29. Its a crusial server, so i cant have
> > > > > > large downtimes.
> > > > > >
> > > > > > but the problem was how the history file had changed, i
> > > > > > really only had to rebuild the history file for it to work.
> > > > > > try to run the expire script (i think it was the expire script).
> > > > > >
> > > > > > but as always, try the mailinglist. The authour is reading
> > > > > > it constantly and answer most of the messages him self.
> > > > > >
> > > > > > I will set up a FreeBSD box with diablo this weekend,
> > > > > > I hope i dont have the same problems you have.
> > > > > >
> > > > > > You could ofcourse always try to upgrade to diablo 2.5-REL.
> > > > > >
> > > > > > /Bjorn
> > > > > >
> > > > > > Marcel Lemmen wrote:
> > > > > > >
> > > > > > > Howdy!
> > > > > > >
> > > > > > > I've build a feeder with the following spec:
> > > > > > > PIII 733
> > > > > > > 1GM mem
> > > > > > > Adaptec 29160 SCSI adapter
> > > > > > > 1x 17GB system disk SCSI160
> > > > > > > 6x 17GB spool SCSI160
> > > > > > >
> > > > > > > I'm running FreeBSD 4.2-Release and Diablo 2.4-REL
> > > > > > > I've recompiled the kernel and tuned Diablo, the machine is running fine.
> > > > > > > *But* the load is average 13!
> > > > > > >
> > > > > > > The dhistory files is of course on the spool, this isn't the problem.
> > > > > > >
> > > > > > > Does anyone know why this machine has this high load?
> > > > > > > My previous machine (FreeBSD 3.4-rel/Diablo 1.2) has an average load of 1.
> > > > > > > Could the FreeBSD 4.2 in combination with the SCSI160 be the problem?
> > > > > > > I let several people see the configs, they all agreed this machine
> > > > > > > shouldn't have this high load.
> > > > > > >
> > > > > > > Please advice.
> > > > > > >
> > > > > > > Kind regards,
> > > > > > >
> > > > > > > Marcel Lemmen
> > > > > > > NewsMaster Support Net
> > > > > >
> >
> > --
> > "computer games don't affect kids, I mean if pac man affected us as
> > kids, we'd
> > all sit around in a darkened room munching pills and listening to
> > repetitive
> > music."...
> >

-- 
"computer games don't affect kids, I mean if pac man affected us as
kids, we'd
all sit around in a darkened room munching pills and listening to
repetitive
music."...
Technical Details
Message-ID: <3A7FC562.9443F88F@behindthedecks.com>
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!supernews.google.com!sn-xit-02!supernews.com!isdnet!nerim.net!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!128.39.3.166!uninett.no!news.powertech.no!nntp.newmedia.no!newsfeed1.enitel.no!masternews.telia.net!newsb.telia.net.POSTED!not-for-mail
References: <Pine.LNX.4.21.0102041933460.14442-100000@unit11.support.nl> <3A7E9E78.4D1934BA@behindthedecks.com> <Pine.LNX.4.21.0102051540530.27776-100000@unit11.support.nl> <3A7EC776.D78DFF80@behindthedecks.com> <Pine.LNX.4.21.0102051649370.27776-100000@unit11.support.nl> <3A7FB616.FFD98C75@behindthedecks.com> <Pine.LNX.4.21.0102060959440.2705-100000@unit11.support.nl>

Show Full Headers
Complete Article Headers
Message-ID: <3A7FC562.9443F88F@behindthedecks.com>
Subject: Re: FreeBSD/Diablo problem
Date: Tue, 06 Feb 2001 09:35:30 GMT
From: Bjorn <bjorn@behindthedecks.com>
References: <Pine.LNX.4.21.0102041933460.14442-100000@unit11.support.nl> <3A7E9E78.4D1934BA@behindthedecks.com> <Pine.LNX.4.21.0102051540530.27776-100000@unit11.support.nl> <3A7EC776.D78DFF80@behindthedecks.com> <Pine.LNX.4.21.0102051649370.27776-100000@unit11.support.nl> <3A7FB616.FFD98C75@behindthedecks.com> <Pine.LNX.4.21.0102060959440.2705-100000@unit11.support.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!supernews.google.com!sn-xit-02!supernews.com!isdnet!nerim.net!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!128.39.3.166!uninett.no!news.powertech.no!nntp.newmedia.no!newsfeed1.enitel.no!masternews.telia.net!newsb.telia.net.POSTED!not-for-mail
X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.2-STABLE i386)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 220
NNTP-Posting-Host: 194.237.170.70
X-Complaints-To: abuse@telia.com
X-Trace: newsb.telia.net 981452130 194.237.170.70 (Tue, 06 Feb 2001 10:35:30 CET)
NNTP-Posting-Date: Tue, 06 Feb 2001 10:35:30 CET
Organization: Telia Internet