🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Marcel Lemmen Sun, 04 Feb 2001 18:41
FreeBSD/Diablo problem
#50401
Author: Marcel Lemmen
Date: Sun, 04 Feb 2001 18:41
29 lines
1499 bytes
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

Re: FreeBSD/Diablo problem
#50413
Author: Bjorn
Date: Mon, 05 Feb 2001 12:37
58 lines
2742 bytes
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."...
Re: FreeBSD/Diablo problem
#50414
Author: Marcel Lemmen
Date: Mon, 05 Feb 2001 14:46
85 lines
3547 bytes
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."...
> 

Re: FreeBSD/Diablo problem
#50415
Author: Bjorn
Date: Mon, 05 Feb 2001 15:32
127 lines
5374 bytes
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)

I have several boxes running 2940U2W with 4.1.1-STABLE and Diablo
2.3-REL, 
with no problem. The only diff is the memory.. I only use 512MB. 

The machine is having a load of 0.6 and have around 50 feeds. (Not full
feeds)

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.

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

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. 

/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."...
Re: FreeBSD/Diablo problem
#50418
Author: Marcel Lemmen
Date: Mon, 05 Feb 2001 15:54
141 lines
5733 bytes
> 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."...
> 

Re: FreeBSD/Diablo problem
#50420
Author: Terry Kennedy
Date: Mon, 05 Feb 2001 16:21
14 lines
1717 bytes
Marcel Lemmen <marcel@support.nl> writes:
> 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.

  Are the dnewslinks keeping up, or are the spool files growing? What does
systat say the CPU idle percentage is?

  Remember that in most BSD-ish Unixes, processes in disk wait (D in ps 
state) contribute 1.0 to the load average.

        Terry Kennedy             http://www.tmk.com
        terry@tmk.com             Jersey City, NJ USA
Re: FreeBSD/Diablo problem
#50441
Author: Bjorn
Date: Tue, 06 Feb 2001 08:30
148 lines
6489 bytes
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."...
Re: FreeBSD/Diablo problem
#50444
Author: Marcel Lemmen
Date: Tue, 06 Feb 2001 09:16
171 lines
7294 bytes
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."...
> 

Re: FreeBSD/Diablo problem
#50445
Author: 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."...
Re: FreeBSD/Diablo problem
#50449
Author: Andrew Gierth
Date: Tue, 06 Feb 2001 10:02
27 lines
2406 bytes
>>>>> "Bjorn" == Bjorn  <bjorn@behindthedecks.com> writes:

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

 Bjorn> /sbin/sysctl -w net.inet.tcp.keepidle=1800

BOGUS BOGUS BOGUS. This parameter is no longer measured in
half-seconds (as it traditionally was), but in MILLISECONDS, so this
is requesting keepalives every 1.8 seconds which is ludicrously
excessive.

You shouldn't need to mess with the keepalive parameters anyway for
_outgoing_ feeds, because if there's a network problem between you and
a site you're feeding, the retransmit timeouts will take care of it
long before keepalives will.

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

Yup. Two hours, which is the smallest default value allowed (see
RFC1122, "Requirements for Internet Hosts")

-- 
Andrew.
Re: FreeBSD/Diablo problem
#50452
Author: Bjorn
Date: Tue, 06 Feb 2001 10:59
45 lines
2933 bytes
Really? 
Oh, I didnt know that. What release of FreeBSd did that change
take place?

Hmm.. i should notice the diablo team about that then.

/Bjorn

Andrew Gierth wrote:
> 
> >>>>> "Bjorn" == Bjorn  <bjorn@behindthedecks.com> writes:
> 
>  Bjorn> Oh, i hope you have done the tuning around sysctl, you have a
>  Bjorn> optoin to set down the tcp timeout. Which will probably help
>  Bjorn> you to close down idle tcp-connections.
> 
>  Bjorn> /sbin/sysctl -w net.inet.tcp.keepidle=1800
> 
> BOGUS BOGUS BOGUS. This parameter is no longer measured in
> half-seconds (as it traditionally was), but in MILLISECONDS, so this
> is requesting keepalives every 1.8 seconds which is ludicrously
> excessive.
> 
> You shouldn't need to mess with the keepalive parameters anyway for
> _outgoing_ feeds, because if there's a network problem between you and
> a site you're feeding, the retransmit timeouts will take care of it
> long before keepalives will.
> 
>  Bjorn> According to the tuning spec, normaly net.inet.tcp.keepidle
>  Bjorn> have a value of 7200000.
> 
> Yup. Two hours, which is the smallest default value allowed (see
> RFC1122, "Requirements for Internet Hosts")
> 
> --
> Andrew.

-- 
"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."...
Re: FreeBSD/Diablo problem
#50454
Author: Marcel Lemmen
Date: Wed, 07 Feb 2001 10:48
79 lines
4572 bytes
I meant 80Mbit/s ;)

The system is around 20% idle, but when it's running dexpire or generating
diablo stats, it's down to 0% idle.

I tried putting a delay in the outgoing feeds, it didn't solve anything.
This is a top:

last pid: 41564; load averages: 24.71, 25.47, 25.65  up 1+20:40:49 11:45:40
147 processes: 5 running, 142 sleeping
CPU states: 27.8% user,  0.0% nice, 25.7% system, 30.7% interrupt, 15.8%
idle
Mem: 813M Active, 11M Inact, 138M Wired, 41M Cache, 111M Buf, 1664K Free
Swap: 512M Total, 7884K Used, 504M Free, 1% Inuse

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
41509 news       2   0 70268K  4092K sbwait   0:07  4.60%  4.59% diablo
41499 news       2   0 70272K  4316K sbwait   0:14  4.49%  4.49% diablo
41510 news       2   0 70272K  3900K sbwait   0:06  3.87%  3.86% diablo
41490 news       2   0 70272K  3916K sbwait   0:17  2.59%  2.59% diablo
26250 news       2   0  5048K   812K select  31:12  1.81%  1.81% diablo
35079 news     -18   0   852K   264K spread   8:18  1.61%  1.61% dnewslink
39045 news       2   0  1156K   284K poll     3:10  1.22%  1.22% dnewslink
41177 news       2   0  1008K   684K poll     0:37  1.22%  1.22% dnewslink
40543 news       2   0  1040K   308K poll     1:32  1.07%  1.07% dnewslink
<snip>

Cheers,

Marcel

On 6 Feb 2001, bill davidsen wrote:

> Date: 6 Feb 2001 18:35:56 GMT
> From: bill davidsen <davidsen@tmr.com>
> Newsgroups: news.software.nntp
> Subject: Re: FreeBSD/Diablo problem
> 
> In article <Pine.LNX.4.21.0102051540530.27776-100000@unit11.support.nl>,
> Marcel Lemmen  <marcel@support.nl> 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.
> 
>   Did you mean GB or MB? 80MB should just be a clearing of the throat
> for a system that size...
> 
>   I any case, unless you find something odd elsewhere, use 'ps' to see
> what's actually runnable. I suspect that nothing is wrong, paritcularly
> if you are getting high idle time, it's just that processes in io-wait
> are reported in the load average now, and I think the old version
> didn't. Or it could be that running realtime instead of batch causes
> them to do a select() or similar and be counted.
> 
>   In any case, if the idle time is high, and I bet it is, you are just
> seeing processes being reported in a new way, not actually taking more
> resources.
> 
>   If you haven't guessed, I am NOT a big BSD hacker, I'm drawing on a
> little Diable 2.? on OpenBSD, and a good bit of Linux. Take this as
> "look here" only.
> 
> -- 
>   bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
> At LinuxExpo Sun was showing Linux applications running on Solaris.
> They don't get it, the arrow points the other way. There's a reason why
> there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
> religion, a way of life, and only incidentally an operating system.
> 

Re: FreeBSD/Diablo problem
#50483
Author: Bjorn
Date: Thu, 08 Feb 2001 12:42
131 lines
6909 bytes
this seems extremly high.. 
On the box we are running diablo 2.4 and FBSD 4.1.1-REL
I have a load of 0.2.. but I should not compare these servers. 
that server have a very limited feed towards it. but
it runs like 50-60 dneswslink processes. it gets about 25% of full 
feed towards it.

you dont run anything else on the machine?

This is the top on that machine...

last pid: 13305;  load averages:  0.17,  0.27,  0.21 up 70+01:25:01 
13:11:15
77 processes:  1 running, 76 sleeping
CPU states:  3.9% user,  0.0% nice,  3.1% system,  2.7% interrupt, 90.3%
idle
Mem: 398M Active, 38M Inact, 52M Wired, 11M Cache, 61M Buf, 992K Free
Swap: 1024M Total, 1936K Used, 1022M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
13304 news       2   0 35612K  2736K sbwait   0:01  2.00%  1.90% diablo
86107 news       2   0  3084K   680K select  63:52  1.27%  1.27% diablo
 9311 news       2   0   640K   352K poll     3:52  0.24%  0.24%
dnewslink
 9116 news       2   0   544K   256K poll     3:44  0.20%  0.20%
dnewslink
 9112 news       2   0   544K   256K poll     3:49  0.05%  0.05%
dnewslink
 9312 news       2   0   544K   256K poll     3:44  0.05%  0.05%
dnewslink
   90 root       2   0   924K   260K select 134:10  0.00%  0.00% syslogd
  116 root       2   0  2092K   480K select  10:47  0.00%  0.00% sshd
 9301 news       2   0   544K   256K poll     4:06  0.00%  0.00%
dnewslink
 9118 news       2   0   544K   256K poll     3:46  0.00%  0.00%
dnewslink
 9307 news       2   0   544K   256K poll     3:45  0.00%  0.00%
dnewslink

it goes up to 0.4 when running feeder-stats.pl...

/Bjorn

Marcel Lemmen wrote:
> 
> I meant 80Mbit/s ;)
> 
> The system is around 20% idle, but when it's running dexpire or generating
> diablo stats, it's down to 0% idle.
> 
> I tried putting a delay in the outgoing feeds, it didn't solve anything.
> This is a top:
> 
> last pid: 41564; load averages: 24.71, 25.47, 25.65  up 1+20:40:49 11:45:40
> 147 processes: 5 running, 142 sleeping
> CPU states: 27.8% user,  0.0% nice, 25.7% system, 30.7% interrupt, 15.8%
> idle
> Mem: 813M Active, 11M Inact, 138M Wired, 41M Cache, 111M Buf, 1664K Free
> Swap: 512M Total, 7884K Used, 504M Free, 1% Inuse
> 
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 41509 news       2   0 70268K  4092K sbwait   0:07  4.60%  4.59% diablo
> 41499 news       2   0 70272K  4316K sbwait   0:14  4.49%  4.49% diablo
> 41510 news       2   0 70272K  3900K sbwait   0:06  3.87%  3.86% diablo
> 41490 news       2   0 70272K  3916K sbwait   0:17  2.59%  2.59% diablo
> 26250 news       2   0  5048K   812K select  31:12  1.81%  1.81% diablo
> 35079 news     -18   0   852K   264K spread   8:18  1.61%  1.61% dnewslink
> 39045 news       2   0  1156K   284K poll     3:10  1.22%  1.22% dnewslink
> 41177 news       2   0  1008K   684K poll     0:37  1.22%  1.22% dnewslink
> 40543 news       2   0  1040K   308K poll     1:32  1.07%  1.07% dnewslink
> <snip>
> 
> Cheers,
> 
> Marcel
> 
> On 6 Feb 2001, bill davidsen wrote:
> 
> > Date: 6 Feb 2001 18:35:56 GMT
> > From: bill davidsen <davidsen@tmr.com>
> > Newsgroups: news.software.nntp
> > Subject: Re: FreeBSD/Diablo problem
> >
> > In article <Pine.LNX.4.21.0102051540530.27776-100000@unit11.support.nl>,
> > Marcel Lemmen  <marcel@support.nl> 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.
> >
> >   Did you mean GB or MB? 80MB should just be a clearing of the throat
> > for a system that size...
> >
> >   I any case, unless you find something odd elsewhere, use 'ps' to see
> > what's actually runnable. I suspect that nothing is wrong, paritcularly
> > if you are getting high idle time, it's just that processes in io-wait
> > are reported in the load average now, and I think the old version
> > didn't. Or it could be that running realtime instead of batch causes
> > them to do a select() or similar and be counted.
> >
> >   In any case, if the idle time is high, and I bet it is, you are just
> > seeing processes being reported in a new way, not actually taking more
> > resources.
> >
> >   If you haven't guessed, I am NOT a big BSD hacker, I'm drawing on a
> > little Diable 2.? on OpenBSD, and a good bit of Linux. Take this as
> > "look here" only.
> >
> > --
> >   bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
> > At LinuxExpo Sun was showing Linux applications running on Solaris.
> > They don't get it, the arrow points the other way. There's a reason why
> > there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
> > religion, a way of life, and only incidentally an operating system.
> >

-- 
"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."...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads