🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Brett Rabe Fri, 03 Oct 1997 00:00
Diablo & problem w/ mbuf clusters
#22082
Author: Brett Rabe
Date: Fri, 03 Oct 1997 00:00
74 lines
2853 bytes
Greetings.

I've been having a problem with Diablo, and would enjoy the vast
wisdom of n.s.nntp.

We're running Diablo on three FreeBSD boxes. General config info:

o 2.2.2-RELEASE
o 128M RAM
o 3 Adaptec 2940 Ultras ('system' partitions on one, news spool
  drives split on the other two, the spool ccd'd into one large
  20gig partition)
o P166
o SMC 9332 10/100bT NICs

When all three of my servers are running Diablo 1.11, things
work just fine. My troubles started when I turned the spam
filtering on. Though the machines were loafing beforehand
(taking around 600k/articles a day without trouble), they
suddenly started to fall behind. Odd.

I upgraded to 1.12 and then 1.13, and suddenly my primary
server started crashing on a regular basis due to an mbuf
problem. The number of mbufs allocated to data as reported
by 'netstat -m' would climb steadily over the course of
6-18 hours until reaching its limit, at which point the
machine would reboot. (With or without filtering enabled.)

I backed out my primary server to 1.11, and the problem did
not go away -- it continued to crash. I backed out my secondary
machines to 1.11, and my primary stopped crashing.

Meanwhile, I was seeing scrolling errors in the system log
on my primary server indicating that diablo was SEGV'ing.

pid 2104 (diablo), uid 8: exited on signal 11
pid 2105 ...
pid 2106 ...
pid 2107 ...
pid 2108 ...
[....]

A corresponding error in the dspoolout.log file from newslink:
newslink[7969]: newsfeed1.uswest.net:/news/dqueue/newsfeed.S12955 Remote
EOF, attempting to reconnect


Pertinent kernel config info:

maxusers        256
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         "SHMMAXPGS=1024"
options         "MAXMEM=131072"
options         "CHILD_MAX=512"
options         "OPEN_MAX=512"
options         "NBUF=6144"
options         "NMBCLUSTERS=2048"

Any suggestions? (Diablo configuration is completely stock....)

Brett

-- 
Brett Rabe                                   Email : brett@uswest.net
Systems Administrator - !nteract Services    Phone : 612.664.3078
600 Stinson Blvd.                            Pager : 612.613.2549
Minneapolis, MN USA 55413                    Fax   : 612.664.4770

      If you aren't the lead dog, the view is always the same.

Re: Diablo & problem w/ mbuf clusters
#22076
Author: Dale Ghent
Date: Fri, 03 Oct 1997 00:00
71 lines
2905 bytes
Brett Rabe wrote:
> 
> Greetings.
> 
> I've been having a problem with Diablo, and would enjoy the vast
> wisdom of n.s.nntp.
> 
> We're running Diablo on three FreeBSD boxes. General config info:
> 
> o 2.2.2-RELEASE
> o 128M RAM
> o 3 Adaptec 2940 Ultras ('system' partitions on one, news spool
>   drives split on the other two, the spool ccd'd into one large
>   20gig partition)
> o P166
> o SMC 9332 10/100bT NICs
> 
> When all three of my servers are running Diablo 1.11, things
> work just fine. My troubles started when I turned the spam
> filtering on. Though the machines were loafing beforehand
> (taking around 600k/articles a day without trouble), they
> suddenly started to fall behind. Odd.
> 
> I upgraded to 1.12 and then 1.13, and suddenly my primary
> server started crashing on a regular basis due to an mbuf
> problem. The number of mbufs allocated to data as reported
> by 'netstat -m' would climb steadily over the course of
> 6-18 hours until reaching its limit, at which point the
> machine would reboot. (With or without filtering enabled.)
> 
> I backed out my primary server to 1.11, and the problem did
> not go away -- it continued to crash. I backed out my secondary
> machines to 1.11, and my primary stopped crashing.
> 
> Meanwhile, I was seeing scrolling errors in the system log
> on my primary server indicating that diablo was SEGV'ing.
> 
> pid 2104 (diablo), uid 8: exited on signal 11
> pid 2105 ...
> pid 2106 ...
> pid 2107 ...
> pid 2108 ...
> [....]
> 
> A corresponding error in the dspoolout.log file from newslink:
> newslink[7969]: newsfeed1.uswest.net:/news/dqueue/newsfeed.S12955 Remote
> EOF, attempting to reconnect
> 
> Pertinent kernel config info:
> 
> maxusers        256
> options         SYSVSHM
> options         SYSVSEM
> options         SYSVMSG
> options         "SHMMAXPGS=1024"
> options         "MAXMEM=131072"
> options         "CHILD_MAX=512"
> options         "OPEN_MAX=512"
> options         "NBUF=6144"
> options         "NMBCLUSTERS=2048"
> 
> Any suggestions? (Diablo configuration is completely stock....)

I'd bump maxusers up to 512. I have no problems that way, but then again
my machine prolly isnt as loaded as yours (as far as the number of
in/out feed is concerned).

		-Dale G.

Re: Diablo & problem w/ mbuf clusters
#22079
Author: Matt Dillon
Date: Fri, 03 Oct 1997 00:00
22 lines
1257 bytes
:In article <343524C9.167EB0E7@uswest.net>,
:Brett Rabe  <brett@uswest.net> wrote:
:>Greetings.
:>
:..
:>
:>I upgraded to 1.12 and then 1.13, and suddenly my primary
:>server started crashing on a regular basis due to an mbuf
:>problem. The number of mbufs allocated to data as reported
:>by 'netstat -m' would climb steadily over the course of
:>6-18 hours until reaching its limit, at which point the

    Use netstat -tn over the course of the buildup to see what is
    eating the mbufs.  The number of mbuf's used cannot really slowly
    increase unless the number of active sockets slowly increases.

						-Matt



Re: Diablo & problem w/ mbuf clusters
#22081
Author: Brett Rabe
Date: Fri, 03 Oct 1997 00:00
25 lines
1408 bytes
Brett Rabe wrote:

> Incidentally ... I went with the solution of removing the labels.
> I think it's ideal to allow my customers to backfeed to whichever of
> my feed servers they want, so I need entries in diablo.hosts on all
> of my machines for all of my customers, even though only a subset of
> them are actually served from a given machine.

Well. I just now noticed that the labels in diablo.hosts are
required. Sigh.

Ah well.

Brett

-- 
Brett Rabe                                   Email : brett@uswest.net
Systems Administrator - !nteract Services    Phone : 612.664.3078
600 Stinson Blvd.                            Pager : 612.613.2549
Minneapolis, MN USA 55413                    Fax   : 612.664.4770

      If you aren't the lead dog, the view is always the same.

Re: Diablo & problem w/ mbuf clusters
#22083
Author: Matt Dillon
Date: Fri, 03 Oct 1997 00:00
44 lines
2752 bytes
:In article <6149eg$kv9$1@samba.rahul.net>,
:Rahul Dhesi <c.c.eiftj@05.usenet.us.com> wrote:
:>Talking about labels...
:>
:>For what it's worth, I decided that I didn't want to maintain three
:>separate Diablo files.  Instead I wrote a perl script to extract lines
:>from dnewsfeeds and generate diablo.hosts and dnntpspool.ctl files from
:>them.  This lets me just edit dnewsfeeds and keep all three files
:>automatically in sync.  Follow the link to make.diablo in:
:>
:>     http://www.rahul.net/dhesi/software/
:>-- 
:>Rahul Dhesi <dhesi@spams.r.us.com>

    You know, your right.  I originally did not put the diablo.hosts 
    equivalent dnewsfeeds because the primary server (which accepts the 
    connections) did not read dnewsfeeds.  It does now, though, so it would be 
    trivial to incorporate it in and get rid of diablo.hosts AND dnntpspool.ctl

    I'll stick it onto my TODO list.  Whatever I do will be backwards 
    compatible for at least a few releases.

    I apologize for this 'labels now required issue'... it just didn't occur
    to me that people were actually not putting labels in diablo.hosts, even
    though the manual said they were optional (!).  That and this annoying
    bug where a label mismatch causes a crash.  I'll try to track that down
    too and at least log the proper error.

    Right now my code-base is ripped apart as I work on the group expire,
    hashing algorithm, and other junk so there isn't going to be another 
    release for at least a month.  Fortunately the only two significant 
    bugs in the current release appear to be easily solved once you know 
    what to look for:  labels are required in diablo.hosts, and labels must
    match their counterparts in dnewsfeeds.

    BTW: the new group-based spool/expire stuff in alpha on news1.best.com 
    has stabilized and appears to be running smoothly, and that's the 
    hardest change I'm going to have to do to the existing server code.  It
    looks like a go.

						-Matt

Re: Diablo & problem w/ mbuf clusters
#22084
Author: Brett Rabe
Date: Fri, 03 Oct 1997 00:00
63 lines
3253 bytes
Matt Dillon wrote:
> 
> :In article <343524C9.167EB0E7@uswest.net>,
> :>I upgraded to 1.12 and then 1.13, and suddenly my primary
> :>server started crashing on a regular basis due to an mbuf
> :>problem. The number of mbufs allocated to data as reported
> :>by 'netstat -m' would climb steadily over the course of
> :>6-18 hours until reaching its limit, at which point the
> 
>     Use netstat -tn over the course of the buildup to see what is
>     eating the mbufs.  The number of mbuf's used cannot really slowly
>     increase unless the number of active sockets slowly increases.

Unless I'm not reading the output of 'netstat -tn' correctly
(entirely possible), I just couldn't find that correlation, Matt.
It's pretty tough to dismiss the steadily increasing number of
mbufs allocated to data as well as the steadily increasing number
of mbuf clusters in use, though. It just climbs and climbs until
the machine crashes.

Probably I'm not understanding what's going on thoroughly enough.

I find it odd that backing out Diablo to 1.11 solved the problem.
I made no configuration changes to Diablo or the machine, other
than dropping back from .13 to .11.

I just finished making changes suggested in a different post by Joe ...

Joe Greco wrote:
> I traced this, on newsfeeds.sol.net (Diablo 1.13++) to the lack of 
> "alias" entries in my dnewsfeeds file for hosts in diablo.hosts that
> had a label specified.

... and upgraded Diablo back to 1.13. It appears to be stable. Thanks
heaps, Joe. :-)

Although essentially this is a problem with me misconfiguring Diablo,
it also seems to be a distinct bug....

Incidentally ... I went with the solution of removing the labels.
I think it's ideal to allow my customers to backfeed to whichever of
my feed servers they want, so I need entries in diablo.hosts on all
of my machines for all of my customers, even though only a subset of
them are actually served from a given machine.

One last thought: I'm thrilled with Diablo. Aside from this problem,
it's been simplistic to run, it's performed fabulously, and Matt's
been more than helpful with the questions I've had. It's definitely
made my life easier to ditch using INN to feed people. Now I need to
evaluate options for ditching INN for readers, as well. Sigh.

Brett

-- 
Brett Rabe                                   Email : brett@uswest.net
Systems Administrator - !nteract Services    Phone : 612.664.3078
600 Stinson Blvd.                            Pager : 612.613.2549
Minneapolis, MN USA 55413                    Fax   : 612.664.4770

      If you aren't the lead dog, the view is always the same.

Re: Diablo & problem w/ mbuf clusters
#22097
Author: Joe Greco
Date: Fri, 03 Oct 1997 00:00
29 lines
1540 bytes
In news.software.nntp article <3435255C.6772@elemental.org>, Dale Ghent <daleg-HATESSPAM@elemental.org> wrote:
:> Meanwhile, I was seeing scrolling errors in the system log
:> on my primary server indicating that diablo was SEGV'ing.
:> 
:> pid 2104 (diablo), uid 8: exited on signal 11
:> pid 2105 ...
:> pid 2106 ...
:> pid 2107 ...
:> pid 2108 ...
:> [....]
:> 
:> A corresponding error in the dspoolout.log file from newslink:
:> newslink[7969]: newsfeed1.uswest.net:/news/dqueue/newsfeed.S12955 Remote
:> EOF, attempting to reconnect

I traced this, on newsfeeds.sol.net (Diablo 1.13++) to the lack of 
"alias" entries in my dnewsfeeds file for hosts in diablo.hosts that
had a label specified.

I fixed it by adding the aliases, but one could probably also "fix" it
by removing the labels.

The labels are a kludge anyways, IMHO, although the concept behind them
is correct.

... JG

Re: Diablo & problem w/ mbuf clusters
#22108
Author: Rahul Dhesi
Date: Sat, 04 Oct 1997 00:00
14 lines
1191 bytes
Talking about labels...

For what it's worth, I decided that I didn't want to maintain three
separate Diablo files.  Instead I wrote a perl script to extract lines
from dnewsfeeds and generate diablo.hosts and dnntpspool.ctl files from
them.  This lets me just edit dnewsfeeds and keep all three files
automatically in sync.  Follow the link to make.diablo in:

     http://www.rahul.net/dhesi/software/
-- 
Rahul Dhesi <dhesi@spams.r.us.com>

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