🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
31 messages
31 total messages Started by Ragnar Lonn Sat, 22 Mar 1997 00:00
Some Diablo questions!
#16171
Author: Ragnar Lonn
Date: Sat, 22 Mar 1997 00:00
31 lines
1999 bytes
Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
and have some questions. Everything seems to work well but some
of my peers (I have 12 peers, most of which take more or less full feeds)
are a bit slow right now and the backlogs are growing so I wondered
if there's any way to speed up the outgoing transfers.

Innfeed uses many simultaneous connections to speed up feeding
sites that run innd and are a bit slow to respond to CHECK/IHAVE
commands. Diablo comes with dnewslink which is something similar
to innxmit (kill me if I'm wrong) and it is being run by dspoolout which
in turn runs and administrates dnewslink processes to deliver the
articles. Now, when I see my slow peers fall behind I immediately
think 'if I could run many dnewslink instances at once, in parallel,
I might be able to feed articles fast enough'. This is doable, according
to the documentation (from the sample dnntpspool.ctl file) but using
any number of simultaneous dnewslink processes above 3 (external
feeds) or 4 (internal feeds) is advised against!  Why is that?  Why
shouldn't I set things up so that my slow peers are being fed by
e.g. 10 simultaneous dnewslinks?

For incoming feeds, Diablo seem to be very fast and efficient but using
e.g innfeed looks to me to be better when you're feeding slow peers.
Of course, it shouldn't be very hard to use innfeed with Diablo. Maybe
that might be a good solution. 

Regards,

  /Ragnar, Algonet

Re: Some Diablo questions!
#16184
Author: Al
Date: Sun, 23 Mar 1997 00:00
30 lines
1510 bytes

In my experience, most newsfeed peers can't keep up with Diablo. The only thing
you could try would be an obscenely large number of concurrent feeds, but even 
that wouldn't necessarily help.

-Al

Ron Echeverri (rone@flea.best.net) wrote:
: In article <5h1r3f$d2t@epimetheus.algonet.se>,
: Ragnar Lonn <prl@algonet.se> wrote:
: >Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
: >and have some questions. Everything seems to work well but some
: >of my peers (I have 12 peers, most of which take more or less full feeds)
: >are a bit slow right now and the backlogs are growing so I wondered
: >if there's any way to speed up the outgoing transfers.
: 
: I don't think Matt is reading this newsgroup; if you have any
: questions about diablo, you should email him directly at
: dillon@backplane.com.  I will forward this to him.
: 
: rone

-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Some Diablo questions!
#16186
Author: Ragnar Lonn
Date: Sun, 23 Mar 1997 00:00
30 lines
1661 bytes
In article <5h416e$mev@flea.best.net>, rone@flea.best.net (Ron Echeverri) 
wrote:
>In article <5h1r3f$d2t@epimetheus.algonet.se>,
>Ragnar Lonn <prl@algonet.se> wrote:
>>Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
>>and have some questions. Everything seems to work well but some
>>of my peers (I have 12 peers, most of which take more or less full feeds)
>>are a bit slow right now and the backlogs are growing so I wondered
>>if there's any way to speed up the outgoing transfers.
>
>I don't think Matt is reading this newsgroup; if you have any
>questions about diablo, you should email him directly at
>dillon@backplane.com.  I will forward this to him.
>

Hmpf, I considered that but thought: No, I won't bother him directly by
spamming his mailbox. After all, he did say in the docs that he wanted 
discussions about Diablo to be held in news.software.nntp so he probably
reads that group quite a lot!

Maybe there should be a mailing list after all then.

  /Ragnar, Algonet





Re: Some Diablo questions!
#16205
Author: Todd C Miller
Date: Sun, 23 Mar 1997 00:00
23 lines
1811 bytes
From the keyboard of lynch@aimnet.com (Al):
> 
> On the pro-inn side, Diablo is still relatively new, and it requires a 
> little more maintenance on my part, partially due to my relative
> unfamiliarity, and partially due to the fact that I'm using it on Solaris.
> Since Matt Dillon wrote Diablo on FreeBSD, and did some work for it to run
> on IRIX, Solaris has a few catches. :)  I must say, however, that Diablo 1.06
> has been remarkably stable, and compiled under Solaris 2.5.1 w/gcc 2.7.2.2
> without a hitch and has been running on an Ultra1/143 and an SS10 with dual
> '41's.

I too have seen excellent performance with diablo.  I'm running
BSD/OS 3.0 which is similar enough to FreeBSD not to cause much 
of a problem.  I find 1.06 to be very fast and very stable.
My biggest problem since switching to diablo is that my client
feeds are having trouble keeping up with the server now :-)

 - todd
-- 
     Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

Re: Some Diablo questions!
#16206
Author: Ron Echeverri
Date: Sun, 23 Mar 1997 00:00
28 lines
1815 bytes
In article <5h46no$2v7@epimetheus.algonet.se>,
Ragnar Lonn <prl@algonet.se> wrote:
>In article <5h416e$mev@flea.best.net>, rone@flea.best.net (Ron Echeverri) 
>wrote:
>>In article <5h1r3f$d2t@epimetheus.algonet.se>,
>>Ragnar Lonn <prl@algonet.se> wrote:
>>>Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
>>>and have some questions. Everything seems to work well but some
>>>of my peers (I have 12 peers, most of which take more or less full feeds)
>>>are a bit slow right now and the backlogs are growing so I wondered
>>>if there's any way to speed up the outgoing transfers.

>>I don't think Matt is reading this newsgroup; if you have any
>>questions about diablo, you should email him directly at
>>dillon@backplane.com.  I will forward this to him.

>Hmpf, I considered that but thought: No, I won't bother him directly by
>spamming his mailbox. After all, he did say in the docs that he wanted 
>discussions about Diablo to be held in news.software.nntp so he probably
>reads that group quite a lot!

Hmm, maybe i should read the diablo docs ;) If that's what he said,
then i'm sure he'll be reading along.  So, ignore me...

rone

Re: Some Diablo questions!
#16207
Author: Ed Klein
Date: Sun, 23 Mar 1997 00:00
31 lines
1767 bytes
In article <5h44j4$86k$1@news.aimnet.com>, Al wrote:
>
>In my experience, most newsfeed peers can't keep up with Diablo. The only thing
>you could try would be an obscenely large number of concurrent feeds, but even 
>that wouldn't necessarily help.

In my experience, using Very Large Numbers of concurrent feeds is
more likely to simply bog the other side down more than it already
is.  

Either there's a lack of bandwidth to the other sites (this is more
common than one might think), or the machines on the other side are
unable to keep up due to I/O bandwidth or RAM shortage.  

Adding more streams to them (beyond a few) is not going to help any
of these conditions.  

--Ed (who plays with game with Cyclone, not Diablo, but the same
principles apply)

==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==
Ed Klein                           Systems Management and Administration      
eklein@bbnplanet.com                   Network Services - Operations 
(301) 982-4600 ext 124 (vox)                BBN Corporation 
(301) 982-4605  (fax)                 Networking Geek/News Weenie  




Re: Some Diablo questions!
#16213
Author: Ron Echeverri
Date: Sun, 23 Mar 1997 00:00
16 lines
1177 bytes
In article <5h1r3f$d2t@epimetheus.algonet.se>,
Ragnar Lonn <prl@algonet.se> wrote:
>Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
>and have some questions. Everything seems to work well but some
>of my peers (I have 12 peers, most of which take more or less full feeds)
>are a bit slow right now and the backlogs are growing so I wondered
>if there's any way to speed up the outgoing transfers.

I don't think Matt is reading this newsgroup; if you have any
questions about diablo, you should email him directly at
dillon@backplane.com.  I will forward this to him.

rone

Re: Some Diablo questions!
#16212
Author: Cracker Buster
Date: Mon, 24 Mar 1997 00:00
70 lines
4579 bytes
On 23 Mar 1997, Al wrote:

> In my experience, most newsfeed peers can't keep up with Diablo. The only thing
> you could try would be an obscenely large number of concurrent feeds, but even 
> that wouldn't necessarily help.

    In my experience, there are two common reasons a peer might backlog,
and one can be helped with parallel feeding.  Network bandwidth (and
responsiveness) is that thing.  Crashes and other outages don't help
matters much either.

    If your peers are not limited by bandwidth, then they will backlog if
they simply cannot keep up with a full feed, most likely being I/O-bound
writing to the spool, or perhaps searching the history database.  No
amount of parallel connections will enable a slow machine to keep up.
Depending on how your peer is fed, increasing the number of connections
would have the effect of crowding out its other incoming feeds, giving an
apparent increase in the number of articles you send it, at the expense of
articles it gets from other peers.  But no amount of force-feeding is
going to be able to give 320 000 articles to a peer which is physically
incapable of writing more than 250 000 per day to disk, or even less.

    On the other hand, parallel feeding to a slow peer can help in that
you can prioritize certain articles based on group or size or whatever,
even without resorting to the parallelism of innfeed.  If you configure
your newsfeeds file to sort your single entry into multiple entries, say,
one containing the most important groups, the second poison-pilling these
groups in INN 1.5* with @groupname entries, then the groups you deem
important can get through with the remainder falling behind.  Or you can
divide by size, with the intention of penalizing oversize articles. 

    This doesn't change the fact that the peer simply cannot keep up with
the feed.  If you can telnet locally to the NNTP port of your server when
it is getting its standard feed and the banner greeting is not
instantaneous, INN is waiting for some I/O to complete before it can
service your request, and your machine is lagging.  (Substitute your
flavor of news server software wherever I've referred to INN.) 

    Even a responsive peer will seem to fall behind if your network
connection to it is not fast.  I feed one site with some 200 000 articles
a day on a good link where a single connection is adequate.  But as soon
as I try to deliver the same number of articles to a peer that is half a
second or so RTT away, the single connection just won't do.  If I'm only
giving around 50 000 articles a day, I may need 2 to 4 parallel
connections to keep from building backlogs, depending on the number of
CHECK commands I issue.  At times like late afternoon in this part of the
world, I may still see increasing backlogs with 6 connections, which clear
out in early morning when the news traffic is highest.

    For example, by weekdays, my server may not be able to keep up with
the best-shot feeds it gets over 2 to 4 parallel connections, and may
cause the sending site to drop tens of thousands of articles or more, yet
I can still handle 330 000 articles comfortably -- just not over those
links at that time.  But on the weekend, the number of articles I couldn't
keep up with drops to hundreds or sometimes zero.

    Adapting a parallel feeding mechanism to Diablo would certainly
improve performance to this part of the world, 14 hops and 500 ms away
from Best, with 20% packet loss on a weekend (sometimes 50% by weekday),
not because my server sucks, but because the lines are overloaded.  I'd
guess that many peers fed by Diablo are in the same situation, while there
are others which plain and simply just cannot keep up no matter whether
you hit them with one, four, or 80 parallel connections.


Barry Bouwsma, Radio Praha news disservice


Re: Some Diablo questions!
#16214
Author: Cracker Buster
Date: Mon, 24 Mar 1997 00:00
156 lines
9269 bytes
On 24 Mar 1997, Matt Dillon wrote:

>      I have found that many of my incoming links
>     will stop sending checks and just start shoving articles to me.
>     I wind up rejecting 30% of them.  While optimizing out the 'check'
>     works in theory, I do not think any of the currently existing
>     feeders actually do the optimization correctly.

    Are you sure they're just shoving the articles at you?  I would guess
that probably they're getting an affirmative response to a CHECK but by
the time they finish sending the article to you, someone else has gotten
it to you.  (Or do you return a different response code to a CZECH if
someome else has already offered the same article and is presumably
transferring it, which was broken when INN added streaming?)

    I'm not quite sure what your makeup of incoming peers is and whether
you receive an unusually large number of articles from some of them (say,
Erol's, BBNPlanet, Maxwell, and other sites which tend to transfer the
most articles) which would be likely to send articles you reject as
duplicates.  But it also depends on the peer and how the number of CHECKs
has been tuned.  I've been sending smaller numbers of CHECK commands at a
time to some peers, because with my connectivity, there will be a definite
time lag between the time I send all the CHECKs, await the response, and
when the TAKETHIS has finally completed.

    I also split outgoing feeds by size into three groups, with the lowest
number of CHECKs (typically 4) for the articles >64k in size, which are
most expensive in terms of wasted bandwidth if duplicated, as well as
memory consumption (I use innfeed which keeps all active articles in
memory, with no serious problems, on an experimental spool filesystem as
noted earlier, since a single connection is decidedly *not* adequate for
any but the nearest two peers and a couple others which take only skeletal
feeds -- note that I aim to have no delay from the time an article reaches
me to the time it gets to my peers, meaning no backlogs, rather than
delaying transfers until off-hours). 

    I'll give you an example of some of my outgoing feeds at the moment:
news.maxwell.syr.edu
   seconds: 6841      art. timeout: 150          ip name: 128.230.129.107
   offered: 14580    resp. timeout: 900             port: 119
  accepted: 180     want streaming: yes      active cxns: 8
   refused: 13425     is streaming: yes    sleeping cxns: 0
  rejected: 958         max checks: 6       initial cxns: 1
   missing: 0         on threshold: 95.0%       max cxns: 8
  deferred: 0        off threshold: 90.0%
                or 2.13 ar 0.03 rr 1.96 jr 0.14

31 packets transmitted, 21 packets received, 32% packet loss
round-trip min/avg/max = 205/322/410 ms
(This explains my terrible performance seen today, able to keep up with
only 18% of Maxwell's offering at the moment, compared with that over the
weekend, where better than 75% of what was destined for me actually got
here.) 

    Maxwell is the only site I feed (save for one local C News peer) not
using INN.  Out of 14580 CHECK commands, I got a 238 (GIMME) for 1138 of
them, or less than 10% of what I offered.  The on/off threshhold is the
point at which innfeed switches from CHECK mode to straight TAKETHIS,
adjustable in innfeed's configuration file.  (It's been a while since I
was relying on innxmit, but I believe you'd have to tweak the source to
get at these values, as it does the same at a lower threshhold if I
recall.)  It is pretty much impossible that I would ever have given enough
CHECKs for 95% of them to be ACKed, which would trigger innfeed into
bypassing the CHECKs. 

    I don't have the logging James has been hinting at incorporating into
innfeed to determine the exact breakdown of rejects, but I imagine that
the bulk of them are duplicates which have arrived at Maxwell via another
source since the time I gave the CHECK.  Innfeed does log when it switches
into and out of NO-CHECK mode, should I happen to want to browse the logs
for that. 

news.muni.cz
   seconds: 9431      art. timeout: 150          ip name: 147.251.6.10
   offered: 33013    resp. timeout: 600             port: 119
  accepted: 27854   want streaming: yes      active cxns: 2
   refused: 1365      is streaming: yes    sleeping cxns: 0
  rejected: 1335        max checks: 30      initial cxns: 1
   missing: 0         on threshold: 95.0%       max cxns: 2
  deferred: 0        off threshold: 90.0%
                or 3.50 ar 2.95 rr 0.14 jr 0.14
        missing 0 spooled 44

21 packets transmitted, 21 packets received, 0% packet loss
round-trip min/avg/max = 16/71/296 ms

    A single connection probably is adequate for this nearby peer, but two
gives me breathing room to handle the inevitable backlogs.


>     As far as my recommendation in the documentation to not run more
>     then 3 dnewslinks in parallel to any given destination, there are
>     two reasons.  First, a streaming connetion to an INND destination
>     will tend to load down that destination.  Having more then three
>     and the INND destination will have trouble handling its other
>     incoming feeds because it will be spending all of its time on
>     yours.  Secondly, you get diminishing returns with INND destinations
>     once you get past 3 simultanious streaming links.  If it cannot 
>     keep up with 3, it probably cannot keep up with 4, 5, or 6...

    I'll respectfully disagree, postulating that the writing to the spool
is what causes INN to slow.  What you say is absolutely correct where
peers are nearby on fast connections, where no more than one connection
should be needed.  After all, with anywhere from 60 to 80 simultaneous
connections, including five from a not-too-far-away peer, last night, that
did not slow my INN from handling more than one article/second on each of
three incoming connections from Maxwell over a connection most of y'awl
would cringe at.  In this part of the world, bandwidth and flakiness of
the connection are important.  On the other hand, when feeding from a
local machine, I can handle from 40 to 50 incoming articles per second,
though INN does get a bit sluggish at those times, taking a second to
return the banner greeting.  As long as you're only sending a stream with
4 to 8 articles/second, I shouldn't be in too much pain.

    As you see from the above example, I have 8 connections open to
Maxwell, with a rather small number of CHECKs to be given before awaiting
a response.  Innfeed dynamically adjusts the number of connections to
match the responsiveness of the peer, and six hours from now, when most of
this continent is asleep, the number of needed connections will drop to
one.  Likewise, some of my outgoing feeds are getting a backlog at
present, but these backlogs will disappear when the backbones clear out a
bit.  To feed a site such as myself, you would see a definite improvement
with 6 connections rather than 3 most of the time.  I realize this is
untrue for the bulk of you lucky folks with better connections, but it is
probably a significant factor for quite a few sites, although there will
be some point where an I/O-bound site is not helped by adding more
connections. 

    Other people who have planned their resources for this experimental
filesystem better than I have are seeing much more stressful conditions
than I am, more approching what the real world will see.  I'm only doing
somewhere around 1 200 000 history lookups over 24 hours; one other site
is doing something like 3 or 4 times as many, and I have no idea what
another site is seeing.  This is with conventional INN code save for the
interface to the spool filesystem, though there are OS-dependent tweaks
one can do to optimize history database lookups without compromising your
history retention time.  My single disk containing the spool, history,
*and* logs is typically only about 10% busy including rereading spooled
backlogged articles to most peers; others are advised not to be so
reckless. 


>     You also want to be sure that you are not saturating your network.

    Well, um, yeah...  That (along with the limited resources I put into
the machines here) is why I'm not really able to stress things and see
just how well they can do.  Frustrating, ain't it...


-Barry Bouwsma  http://www.dhp.com/~kibo/bouwsmb0.html
Official FAQ Maintainer
(apologies for the topic drift from information to pointless bragging)


Re: Some Diablo questions!
#16230
Author: Al
Date: Mon, 24 Mar 1997 00:00
70 lines
3276 bytes
Cracker Buster (luser@Radio.CZ) wrote:
: On 23 Mar 1997, Al wrote:
: 
: > In my experience, most newsfeed peers can't keep up with Diablo. The only thing
: > you could try would be an obscenely large number of concurrent feeds, but even 
: > that wouldn't necessarily help.
: 
:     In my experience, there are two common reasons a peer might backlog,
: and one can be helped with parallel feeding.  Network bandwidth (and
: responsiveness) is that thing.  Crashes and other outages don't help
: matters much either.
: 
<lots of good info snipped>
: 
: 
: Barry Bouwsma, Radio Praha news disservice
: 

This is all true.  I find usually that peers get I/O bound. I trade feeds with
Best, and there is no backlog, but we both run Diablo.  The only other peer I 
have which doesn't backlog too bad runs Innd with innfeed.  

Most of my feeds go directly to customers across DS1 and DS3 lines.  Latency is
usually < 10ms, with bandwidth to spare.  Yet the boxes backlog.  Why? A couple of 
reasons:

-	Insufficient RAM
-	Bad disk setup
-	Non-dedicated machines
-	Inexperienced news admins

The most common problem seems to be #2, bad disk setups. As much as the concepts
of disk striping get discussed here, I think there is a significant amount of
the news population who doesn't yet get it.  I've talked to people who dont
understand why a 9gig for news spool and a 9 gig for alt doesn't work as well
as 9 2 gigs.  

Also, I've found in general that machines doing both feeders and readers in
any large number do neither well.  Innd doesn't answer requests as fast when
its processing a bunch of feeds, and the nnrpd's, even with Matt Dillon's
patch for shared+ro MMAP, use enough RAM to cause swapping or a scarcity
of cache.

I'm not saying that INN _can't_ do the job of being a good transit feeder,
but since converting to Diablo I've seen a major throughput gain, I get
more articles due to a lack fo backlog at other sites, and all in all
things urn more smoothly.  

On the pro-inn side, Diablo is still relatively new, and it requires a 
little more maintenance on my part, partially due to my relative
unfamiliarity, and partially due to the fact that I'm using it on Solaris.
Since Matt Dillon wrote Diablo on FreeBSD, and did some work for it to run
on IRIX, Solaris has a few catches. :)  I must say, however, that Diablo 1.06
has been remarkably stable, and compiled under Solaris 2.5.1 w/gcc 2.7.2.2
without a hitch and has been running on an Ultra1/143 and an SS10 with dual
'41's.

Ymmv!

-Al


-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Some Diablo questions!
#16237
Author: Matt Dillon
Date: Mon, 24 Mar 1997 00:00
75 lines
3980 bytes
:In article <5h416e$mev@flea.best.net>,
:Ron Echeverri <rone@flea.best.net> wrote:
:>In article <5h1r3f$d2t@epimetheus.algonet.se>,
:>Ragnar Lonn <prl@algonet.se> wrote:
:>>Hello, I'm trying out Diablo on an Ultrasparc running Solaris 2.5.1
:>>and have some questions. Everything seems to work well but some
:>>of my peers (I have 12 peers, most of which take more or less full feeds)
:>>are a bit slow right now and the backlogs are growing so I wondered
:>>if there's any way to speed up the outgoing transfers.
:>
:>I don't think Matt is reading this newsgroup; if you have any
:>questions about diablo, you should email him directly at
:>dillon@backplane.com.  I will forward this to him.
:>
:>rone

    I read this group!  :-)

    The dnewslink program works in a manner similar with innfeed/innxmit,
    but does not try to optimize-out 'check' commands.  I forget which
    one (innfeed or innxmit) that did that... basically dnewslink will
    send a (streaming) 'check' for every message, even if it winds up
    transfering most of them.  

    But that's the only difference, and I think it actually helps more 
    then it hinders... I have found that many of my incoming links
    will stop sending checks and just start shoving articles to me.
    I wind up rejecting 30% of them.  While optimizing out the 'check'
    works in theory, I do not think any of the currently existing
    feeders actually do the optimization correctly.

    --

    As far as my recommendation in the documentation to not run more
    then 3 dnewslinks in parallel to any given destination, there are
    two reasons.  First, a streaming connetion to an INND destination
    will tend to load down that destination.  Having more then three
    and the INND destination will have trouble handling its other
    incoming feeds because it will be spending all of its time on
    yours.  Secondly, you get diminishing returns with INND destinations
    once you get past 3 simultanious streaming links.  If it cannot 
    keep up with 3, it probably cannot keep up with 4, 5, or 6...

    Since Diablo forks, it has no problem with simultanious 
    incoming streaming feeds, but it is possible to overload the
    filesystem with history lookups.  You can generally tell by
    doing a ps to see where the server processes are hanging.
    In FreeBSD, you would:

	* make your window very wide
	* ps axl | fgrep diablo

    A diablo server in the 'netio' wait state is running at 100%
    efficiency.. it's waiting for the next command from the client.
    A diablo server in the 'biowai' state is waiting on disk I/O.
    A diablo server in the 'ufslk2' or 'ufslk' state is waiting on
    an internal kernel filesystem lock of some sort (this can be a 
    problem too).  Generally speaking, diablo will not get hung up
    on its own file locks since it does record locking rather then
    whole-file locking on the history file.

    dnewslink processes can be observed in the same manner, but for
    dnewslink processes being in a biowai or ufslk* state is not 
    as critical as when the diablo server processes are in those 
    states.

    You also want to be sure that you are not saturating your network.
    netstat works admirably for that if your news machine is on its
    own switch port.

						-Matt


Re: Some Diablo questions!
#16242
Author: Matt Dillon
Date: Mon, 24 Mar 1997 00:00
68 lines
3497 bytes
:In article <5h4lki$b0a$1@news.aimnet.com>, Al <lynch@aimnet.com> wrote:
:>Cracker Buster (luser@Radio.CZ) wrote:
:>: On 23 Mar 1997, Al wrote:
:>: 
:...

:>I'm not saying that INN _can't_ do the job of being a good transit feeder,
:>but since converting to Diablo I've seen a major throughput gain, I get
:>more articles due to a lack fo backlog at other sites, and all in all
:>things urn more smoothly.  
:>
:>On the pro-inn side, Diablo is still relatively new, and it requires a 
:>little more maintenance on my part, partially due to my relative
:>unfamiliarity, and partially due to the fact that I'm using it on Solaris.
:>Since Matt Dillon wrote Diablo on FreeBSD, and did some work for it to run
:>on IRIX, Solaris has a few catches. :)  I must say, however, that Diablo 1.06
:>has been remarkably stable, and compiled under Solaris 2.5.1 w/gcc 2.7.2.2
:>without a hitch and has been running on an Ultra1/143 and an SS10 with dual
:>'41's.
:>Ymmv!
:>
:>-Al
:>Al Dowski

    My goal is definitely in the stability department.  I have been using
    BEST's news system (with 75+ feeds) as a guina pig for Diablo.  The
    most recent release, 1.06, was prompted by diablo's dexpire not being
    able to keep up with the incoming article rate due to it getting 
    slowed down by 60+ diablo server processes all crunching the disk.
    1.06 contains a fix for that, by having dexpire fork itself a couple
    of times and split its remove() workload if you give it the right option.
    This seems to work quite well... news1 gets bogged down during the
    expire run, but the expire run takes only 15 minutes once every
    four hours.  e.g.:

Mon Mar 24 08:05:05 PST 1997 ./quadhr.expire BEGIN
dexpire: starting factor   1.65
dexpire: starting factor   1.65
dexpire: starting factor   1.65
dexpire: starting factor   1.65
hash size: 4194304
hash size: 4194304
hash size: 4194304
hash size: 4194304
Scanned f=1.65   count=2217385 oldexp=1834571 expired=3475  
Scanned f=1.65   count=2217385 oldexp=1834316 expired=3455  
Scanned f=1.65   count=2217386 oldexp=1834478 expired=3571  
Scanned f=1.65   count=2217387 oldexp=1834204 expired=3491  
2955.00 MB free space availble
2954.99 MB free space availble
2954.95 MB free space availble
2954.95 MB free space availble
dexpire: ending factor   1.70
Mon Mar 24 08:20:58 PST 1997 ./quadhr.expire END

    That and a larger hash table size by default and a few other
    fixes and optimizations.

    Neither ron or I have had to fix problems with news1.best.com for 
    several weeks.  We do get an occassional crash due to a bug in the 
    SCSI driver, but there's nothing Diablo can do about that :-).  My
    goal is 100% hands-off operation and maintenance.

					-Matt


Re: Some Diablo questions!
#16244
Author: Al
Date: Mon, 24 Mar 1997 00:00
46 lines
2379 bytes
*sigh*

Same here!

Both of my newsfeed-only boxes run Diablo, and both backup to our reader box.
Considering that our reader has just about everything under the sun on it,
including a spool spread across 8 disks, a separate overview, /news, and UFS
logging setup, its usually not I/O bound, but it still can't keep up.

According to Diablo's docs, it should support readers within the next year.
That will be cool, but until then, I have to keep pumping up our news reader
box.  ('Till inn 1.6, at least, I hope!)

-Al


Todd C Miller (millert@courtesan.com) wrote:
: From the keyboard of lynch@aimnet.com (Al):
: > 
: > On the pro-inn side, Diablo is still relatively new, and it requires a 
: > little more maintenance on my part, partially due to my relative
: > unfamiliarity, and partially due to the fact that I'm using it on Solaris.
: > Since Matt Dillon wrote Diablo on FreeBSD, and did some work for it to run
: > on IRIX, Solaris has a few catches. :)  I must say, however, that Diablo 1.06
: > has been remarkably stable, and compiled under Solaris 2.5.1 w/gcc 2.7.2.2
: > without a hitch and has been running on an Ultra1/143 and an SS10 with dual
: > '41's.
: 
: I too have seen excellent performance with diablo.  I'm running
: BSD/OS 3.0 which is similar enough to FreeBSD not to cause much 
: of a problem.  I find 1.06 to be very fast and very stable.
: My biggest problem since switching to diablo is that my client
: feeds are having trouble keeping up with the server now :-)
: 
:  - todd
: -- 
:      Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Some Diablo questions!
#16256
Author: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
47 lines
2522 bytes
:In article <5h91s5$7an$1@news.aimnet.com>, Al <lynch@aimnet.com> wrote:
:>Matt Dillon (dillon@flea.best.net) wrote:
:><snip>
:>: 
:>:     The single greatest advantage that something like Diablo
:>:     has over INND is that, being a forking server, one diablo
:>:     process can stall on an I/O operation while the remaining
:>:     processes continue to run.  Thus, Diablo will run on
:>:     platform configurations that innd just dies on.  
:>
:>The forking nature of Diablo works great, except in one instance,
:>which I have experienced. At one point yesterday, Sprintlink had
:>>50 simultaneous connections to one of my feed boxes. For each of
:>those connections, there was an 18M Diablo process. The box in
:>question had 128M, but fortunately, I had put /news on a different
:>disk from swap -- the box was paging madly. 
:>
:>I would call this much more a configuration error on the other guys'
:>machine, and not a Diablo problem, but it is one thing to consider
:>if you have a lot of peers doing crazy things with innfeed.
:>
:>-Al
:>
:>
:>-- 
:>
:>Al Dowski
:>Manager, Systems Operations
:>Aimnet Corporation

     Mmm... well, actually, that 18MB should mostly be a shared read-only
     mmap() of the history file's hash table.  The actual non-shared
     memory utilization per fork should be much less... less then 500K.
     I've actually been trying to track down where some of that memory
     is going... diablo really allocates almost nothing when it forks and I
     suspect certain C library functions (e.g. getservbyname(), etc...).

     Sprint really made 50 simultanious connections to you?  Wow.  They only
     make 6 to us (and, frankly, only really need one or two).  They must
     love you!  One of our german feeds makes 12 to us, but all but two
     stay idle.

						-Matt


Re: Some Diablo questions!
#16258
Author: Todd C Miller
Date: Tue, 25 Mar 1997 00:00
31 lines
1900 bytes
From the keyboard of dillon@flea.best.net (Matt Dillon):
> 
>     The dnewslink program works in a manner similar with innfeed/innxmit,
>     but does not try to optimize-out 'check' commands.  I forget which
>     one (innfeed or innxmit) that did that... basically dnewslink will
>     send a (streaming) 'check' for every message, even if it winds up
>     transfering most of them.  

I would love the ability to put dnewslink in a TAKETHIS-only
mode.  We have a bunch of leaf sites that only have a single
feed, us.  Innxmit does this and it should be easy to hack
into diablo.  Also, a nostream command line option would be
nice too.

I'm also seeing a feed where connections to them time out
after the default 10min timeout but their machine
is basically quiescent and their net is not in heavy use.

Ie:
Mar 25 01:17:04 coopnntp newslink[25669]: news.foo.com:foo.S05046
final secs=600  acc=0    dup=0    rej=0    tot=0    (0/min 76/199998 mS)
<interrupt/error>

Anyone else seen this with diablo feeding a machine running inn?

 - todd
-- 
     Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

Re: Some Diablo questions!
#16268
Author: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
27 lines
1687 bytes
:In article <5h75pe$8lu@epimetheus.algonet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <5h4lki$b0a$1@news.aimnet.com>, lynch@aimnet.com (Al) wrote:
:>>
:>>On the pro-inn side, Diablo is still relatively new, and it requires a 
:...
:>The only things I lack so far are better statistics for incoming feeds,
:>and maybe a couple of small features that INN can do with its
:>newsfeeds file that I would like to have in the dnewsfeeds file in Diablo.
:>
:>Another thing - do I have to kill all Diablo processes and run rc.news 
:>to make Diablo read the dnewsfeeds file again after I've changed some-
:>thing in it?  When I sent a HUP signal to Diablo, it exited :-I    I don't
:>want to interrupt incoming feeds unless I have to...
:>
:>  /Ragnar, Algonet

    Nope, you just edit the dnewsfeeds file.  Diablo will pick it up within
    5 minutes or so (even the servers that are already forked and running).

    That was the *first* thing I designed :-)

					    -Matt


Re: Some Diablo questions!
#16275
Author: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
86 lines
4491 bytes
:In article <5h75ph$8lu@epimetheus.algonet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <5h6kl9$gl2@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
:>wrote:
:>>
:>>    As far as my recommendation in the documentation to not run more
:>>    then 3 dnewslinks in parallel to any given destination, there are
:>>    two reasons.  First, a streaming connetion to an INND destination
:...
:>
:>But it has to depend a lot on the receiving site's situation. For
:>example, we have one feed that goes across a satellite link to
:>French Polynesia. They have response times in the order of
:>1000-2000ms. In this case, running more simultaneous feeds
:...
:>
:>Also, people have been saying that using more than N feeds
:>in parallel will just bog down the receiving site and not get them
:>much more articles in the end. While this sounds logical I wonder
:>if it applies in all cases. Slow connections is one case where it
:>might work to use more parallel feeds - especially when RTT
:...

    I agree completely, you are absolutely right... in cases where
    TCP streaming cannot keep the pipe full due to latency, you
    might need more then 3 simultanious connections for 'normal'
    operation.

:>is slow but there is available bandwidth. Also, but in this I'm
:>just going on hearsay, I've got the impression that INND operates
:>in a manner that makes multi-channel feeding more efficient
:>because INND's main loop does a lot of stuff on each iteration
:>and it will only spend so much time serving every inbound
:>channel on every iteration so these other things it does will
:>become a bottleneck for single-channel feeds while multi-
:>channel ones will be served several times each iteration in
:>the main loop. True or false?

    Both true and false, but more false then true.   The big
    problem with INND is that it is single threaded.  *ANY*
    operation which blocks stalls *ALL* of your feeds.  This
    tends to make INND extremely sensitive to the filesystem
    and kernel that it is run on.

    Even if INND tends to stall only on file creates, the
    stall still wastes real time during which no history file
    lookups can occur.  Many installations can get away
    with this because, as with Diablo, history file lookups
    are *very* fast, and so innd can 'catch up' again.  One
    can also assume that in a fully stabilized system, innd
    will only have to create 4 or 5 files a second no matter
    how many feeds you have... so innd WILL work with a large
    number of feeds if it doesn't stall to badly on article
    create and link() calls.

    The single greatest advantage that something like Diablo
    has over INND is that, being a forking server, one diablo
    process can stall on an I/O operation while the remaining
    processes continue to run.  Thus, Diablo will run on
    platform configurations that innd just dies on.  

    For example, news1.best.com has only 128MB of ram and
    the Diablo system runs over ufs/ffs.  There's nothing special
    about the machine beyond it being a ppro 200 running FreeBSD.
    INND on a simliarly configured box has serious trouble with
    the number of feeds we maintain.  I find it personally
    distasteful to have to throw massively overpowered hardware
    at a problem that ought to be otherwise solveable :-)

					-Matt

:>My machine has enough memory to keep the history file in
:>physical RAM all the time probably so I don't think that will be
:>a problem (unless I start feeding a really large number of sites
:>and run out of memory of course).  It also has a disk system I
:>am glad I bought - a Voyager 3000 external RAID unit from
:>Eurologic. I can recommend it - it's very fast!
:>
:>Regards,
:>
:>  /Ragnar, Algonet



Re: Some Diablo questions!
#16276
Author: Ragnar Lonn
Date: Tue, 25 Mar 1997 00:00
43 lines
2746 bytes
In article <5h4lki$b0a$1@news.aimnet.com>, lynch@aimnet.com (Al) wrote:
>
>On the pro-inn side, Diablo is still relatively new, and it requires a 
>little more maintenance on my part, partially due to my relative
>unfamiliarity, and partially due to the fact that I'm using it on Solaris.
>Since Matt Dillon wrote Diablo on FreeBSD, and did some work for it to run
>on IRIX, Solaris has a few catches. :)  I must say, however, that Diablo 1.06
>has been remarkably stable, and compiled under Solaris 2.5.1 w/gcc 2.7.2.2
>without a hitch and has been running on an Ultra1/143 and an SS10 with dual
>'41's.
>

I'm running it on Solaris 2.5.1 aswell. Not too hard to get it to compile - I
had to change one or two sourcefiles that generated compile errors and
when xmake created the libdiablo archive using 'ar' it crashed with a
bus error ;)  ('ar' that is, not xmake)  But apart from that, things compiled
pretty fine on Solaris using Sun's sparcompiler.

I'm running it on an Ultra 1/170 now. See http://fanta.algonet.se/ for
some simple stats.

I must say, also, that I find Diablo administration a lot easier than INN
administration. I've been using INN for a little over two years so I'm not
completely lost at least, but Diablo is so small that it is very 
comprehensible (of course, there's still a lot to learn about it for me)
and there aren't many commands or config files to learn so I'd say
Diablo administration is very easy compared to INN administration.

The only things I lack so far are better statistics for incoming feeds,
and maybe a couple of small features that INN can do with its
newsfeeds file that I would like to have in the dnewsfeeds file in Diablo.

Another thing - do I have to kill all Diablo processes and run rc.news 
to make Diablo read the dnewsfeeds file again after I've changed some-
thing in it?  When I sent a HUP signal to Diablo, it exited :-I    I don't
want to interrupt incoming feeds unless I have to...

  /Ragnar, Algonet



Re: Some Diablo questions!
#16278
Author: Matt Dillon
Date: Tue, 25 Mar 1997 00:00
30 lines
1663 bytes
:In article <5h8voi$8vl$1@xyzzy.home.courtesan.com>,
:Todd C Miller  <millert@courtesan.com> wrote:
:>From the keyboard of millert@courtesan.com (Todd C Miller):
:>> 
:>> I'm also seeing a feed where connections to them time out
:>> after the default 10min timeout but their machine
:>> is basically quiescent and their net is not in heavy use.
:>> 
:>> Ie:
:>> Mar 25 01:17:04 coopnntp newslink[25669]: news.foo.com:foo.S05046
:>> final secs=600  acc=0    dup=0    rej=0    tot=0    (0/min 76/199998 mS)
:>> <interrupt/error>
:>> 
:>> Anyone else seen this with diablo feeding a machine running inn?
:>
:>Hmm, this does not occur when I hack dnewslink to never
:>do streaming.  It may well be an inn problem.
:>
:> - todd
:>-- 
:>     Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

    I occassionally see long stalls if the destination site is renumbering
    its history file or doing something weird when it runs expire.

					-Matt


Re: Some Diablo questions!
#16290
Author: Al
Date: Tue, 25 Mar 1997 00:00
31 lines
1673 bytes
Matt Dillon (dillon@flea.best.net) wrote:
<snip>
: 
:     The single greatest advantage that something like Diablo
:     has over INND is that, being a forking server, one diablo
:     process can stall on an I/O operation while the remaining
:     processes continue to run.  Thus, Diablo will run on
:     platform configurations that innd just dies on.  

The forking nature of Diablo works great, except in one instance,
which I have experienced. At one point yesterday, Sprintlink had
>50 simultaneous connections to one of my feed boxes. For each of
those connections, there was an 18M Diablo process. The box in
question had 128M, but fortunately, I had put /news on a different
disk from swap -- the box was paging madly. 

I would call this much more a configuration error on the other guys'
machine, and not a Diablo problem, but it is one thing to consider
if you have a lot of peers doing crazy things with innfeed.

-Al


-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Some Diablo questions!
#16298
Author: Ragnar Lonn
Date: Tue, 25 Mar 1997 00:00
24 lines
1616 bytes
In article <5h5b1t$eu9$1@news.aimnet.com>, lynch@aimnet.com (Al) wrote:
>*sigh*
>
>Same here!
>
>Both of my newsfeed-only boxes run Diablo, and both backup to our reader box.
>Considering that our reader has just about everything under the sun on it,
>including a spool spread across 8 disks, a separate overview, /news, and UFS
>logging setup, its usually not I/O bound, but it still can't keep up.
>

Maybe you need more RAM?  How many readers do you have?  Our
reader box is a Sparc 20/712 with 512MB RAM, 6 x 4GB spool, and 
a disk or two for logging and history and stuff. Overview is on the
spool with the articles.

It handles over 400 simultaneous NNRPD's without much problem (though
I had to increase the swapspace as it uses up to 700 or 800MB swap) and
response time is pretty decent.

  /Ragnar, Algonet

Re: Some Diablo questions!
#16316
Author: Ragnar Lonn
Date: Tue, 25 Mar 1997 00:00
57 lines
3341 bytes
In article <5h6kl9$gl2@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
wrote:
>
>    As far as my recommendation in the documentation to not run more
>    then 3 dnewslinks in parallel to any given destination, there are
>    two reasons.  First, a streaming connetion to an INND destination
>    will tend to load down that destination.  Having more then three
>    and the INND destination will have trouble handling its other
>    incoming feeds because it will be spending all of its time on
>    yours.  Secondly, you get diminishing returns with INND destinations
>    once you get past 3 simultanious streaming links.  If it cannot 
>    keep up with 3, it probably cannot keep up with 4, 5, or 6...
>

But it has to depend a lot on the receiving site's situation. For
example, we have one feed that goes across a satellite link to
French Polynesia. They have response times in the order of
1000-2000ms. In this case, running more simultaneous feeds
ought to be beneficial, right?  How many CHECK commands
does dnewslink issue at once?  Increasing that number for
this particular feed might also help perhaps.

Also, people have been saying that using more than N feeds
in parallel will just bog down the receiving site and not get them
much more articles in the end. While this sounds logical I wonder
if it applies in all cases. Slow connections is one case where it
might work to use more parallel feeds - especially when RTT
is slow but there is available bandwidth. Also, but in this I'm
just going on hearsay, I've got the impression that INND operates
in a manner that makes multi-channel feeding more efficient
because INND's main loop does a lot of stuff on each iteration
and it will only spend so much time serving every inbound
channel on every iteration so these other things it does will
become a bottleneck for single-channel feeds while multi-
channel ones will be served several times each iteration in
the main loop. True or false?

>    Since Diablo forks, it has no problem with simultanious 
>    incoming streaming feeds, but it is possible to overload the
>    filesystem with history lookups.  You can generally tell by
>    doing a ps to see where the server processes are hanging.
>    In FreeBSD, you would:
>

My machine has enough memory to keep the history file in
physical RAM all the time probably so I don't think that will be
a problem (unless I start feeding a really large number of sites
and run out of memory of course).  It also has a disk system I
am glad I bought - a Voyager 3000 external RAID unit from
Eurologic. I can recommend it - it's very fast!

Regards,

  /Ragnar, Algonet

Re: Some Diablo questions!
#16324
Author: Todd C Miller
Date: Tue, 25 Mar 1997 00:00
22 lines
1476 bytes
From the keyboard of millert@courtesan.com (Todd C Miller):
> 
> I'm also seeing a feed where connections to them time out
> after the default 10min timeout but their machine
> is basically quiescent and their net is not in heavy use.
> 
> Ie:
> Mar 25 01:17:04 coopnntp newslink[25669]: news.foo.com:foo.S05046
> final secs=600  acc=0    dup=0    rej=0    tot=0    (0/min 76/199998 mS)
> <interrupt/error>
> 
> Anyone else seen this with diablo feeding a machine running inn?

Hmm, this does not occur when I hack dnewslink to never
do streaming.  It may well be an inn problem.

 - todd
-- 
     Todd C. Miller    Sysadmin/Consultant     Todd.Miller@courtesan.com

Re: Some Diablo questions!
#16331
Author: Ragnar Lonn
Date: Tue, 25 Mar 1997 00:00
18 lines
1128 bytes
In article <slrn5jb7j9.4ai.eklein@what.bbnplanet.com>, 
eklein@what.bbnplanet.com (Ed Klein) wrote:
>
>--Ed (who plays with game with Cyclone, not Diablo, but the same
>principles apply)
>

What's Cyclone like?  Any comments?   Compared to Diablo and/or NNTPrelay?
I know it's available for free download and testing but that takes time so any
info from a user would be interesting.

Regards,

  /Ragnar, Algonet


Re: Some Diablo questions!
#16342
Author: Al
Date: Wed, 26 Mar 1997 00:00
36 lines
2004 bytes
Matt Dillon (dillon@flea.best.net) wrote:
<my comments snipped>
: 
:      Mmm... well, actually, that 18MB should mostly be a shared read-only
:      mmap() of the history file's hash table.  The actual non-shared
:      memory utilization per fork should be much less... less then 500K.
:      I've actually been trying to track down where some of that memory
:      is going... diablo really allocates almost nothing when it forks and I
:      suspect certain C library functions (e.g. getservbyname(), etc...).
: 
:      Sprint really made 50 simultanious connections to you?  Wow.  They only
:      make 6 to us (and, frankly, only really need one or two).  They must
:      love you!  One of our german feeds makes 12 to us, but all but two
:      stay idle.
: 
: 						-Matt
: 

As I write this there are only 6, but over the last few days I've seen nearly two
screens of a netstat filled with 'newsfeed1.nntp       newsfeed.sprintlink.net.49237
 64240      0  8760      0 ESTABLISHED'.  Could have been a temporary problem one
their part, as it seems to have calmed down.  I guess the 18M impression I was
getting was just from ps output / 'top' output.  At times that box does page madly,
but I could probably fix that with another 64mb ram.

-Al


-- 

Al Dowski
Manager, Systems Operations
Aimnet Corporation

Re: Some Diablo questions!
#16362
Author: Anthony Talltree
Date: Wed, 26 Mar 1997 00:00
13 lines
1020 bytes
>The most common problem seems to be #2, bad disk setups. As much as the concepts
>of disk striping get discussed here, I think there is a significant amount of
>the news population who doesn't yet get it.

I suspect that much of that population is using an OS that doesn't readily do
striping.





Re: Some Diablo questions!
#16382
Author: Ragnar Lonn
Date: Thu, 27 Mar 1997 00:00
26 lines
1589 bytes
In article <5h86s7$8ln@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
wrote:
>
>    the number of feeds we maintain.  I find it personally
>    distasteful to have to throw massively overpowered hardware
>    at a problem that ought to be otherwise solveable :-)
>

I agree ;)   Besides, upgrading the software usually has a lot
larger impact on performance than upgrading the hardware. In many
cases it is not too hard improving a software to deliver 100 times
the performance of the old one while the same hardware upgrade
can be very costly and difficult. 

In some cases, like Microsoft/Intel, it doesn't seem to matter but
then again the PC industry is crazy, always has been. They make
slower programs for faster hardware all the time and never seem
the least concerned with execution speed or performance in general.

  /Ragnar, Algonet




Re: Some Diablo questions!
#16388
Author: Matt Dillon
Date: Thu, 27 Mar 1997 00:00
28 lines
1651 bytes
:In article <5hdmjg$55l@epimetheus.algonet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <5hafu4$c5h@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
:>wrote:
:>>
:>>     Sprint really made 50 simultanious connections to you?  Wow.  They only
:>>     make 6 to us (and, frankly, only really need one or two).  They must
:>>     love you!  One of our german feeds makes 12 to us, but all but two
:>>     stay idle.
:>>
:>
:>Maybe a sanity check on how many connections are accepted simultaneously
:>from any one single site would be nice to have?  Just to make sure some site
:>gone mad can't bring your server to go out of memory by spawning diablo
:>processes (even if they only *really* require 500k each, enough of them
:>will still use up all your virtual memory).
:>
:>  /Ragnar, Algonet

   I have seriously considered doing this... it isn't too hard since the
   main server can keep track of who is connecting to it and how many.

					-Matt



Re: Some Diablo questions!
#16393
Author: Ragnar Lonn
Date: Thu, 27 Mar 1997 00:00
19 lines
1422 bytes
In article <5hafu4$c5h@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
wrote:
>
>     Sprint really made 50 simultanious connections to you?  Wow.  They only
>     make 6 to us (and, frankly, only really need one or two).  They must
>     love you!  One of our german feeds makes 12 to us, but all but two
>     stay idle.
>

Maybe a sanity check on how many connections are accepted simultaneously
from any one single site would be nice to have?  Just to make sure some site
gone mad can't bring your server to go out of memory by spawning diablo
processes (even if they only *really* require 500k each, enough of them
will still use up all your virtual memory).

  /Ragnar, Algonet

Re: Some Diablo questions!
#16403
Author: Matt Dillon
Date: Thu, 27 Mar 1997 00:00
41 lines
2134 bytes
:In article <5hdmj0$55l@epimetheus.algonet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <5h8625$8f2@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
:>wrote:
:>>
:>>:>Another thing - do I have to kill all Diablo processes and run rc.news 
:>>:>to make Diablo read the dnewsfeeds file again after I've changed some-
:>>:>thing in it?  When I sent a HUP signal to Diablo, it exited :-I    I don't
:>>:>want to interrupt incoming feeds unless I have to...
:>>:>
:>>:>  /Ragnar, Algonet
:>>
:>>    Nope, you just edit the dnewsfeeds file.  Diablo will pick it up within
:>>    5 minutes or so (even the servers that are already forked and running).
:>>
:>>    That was the *first* thing I designed :-)
:>>
:>
:>Hmm, I never thought about letting it run on and see what happened...
:>I'm too used to programs that need signals to reload their config files
:>I guess ;)   The same applies to diablo.hosts then?

    Yup, diablo.hosts and dexpire.ctl and dnewsfeeds.  The dhistory file
    requires a pause, but the dhistory file is only rewritten twice
    a week (dexpire updates dhistory in-place rather then rewrite it).

:>I suppose nothing bad will happen if Diablo tries to load a config
:>file that has changed, and find a syntax error in it?
:>
:>  /Ragnar, Algonet

    Hmm.. well, it will continue parsing the config file and will run
    with what it has, and syslog the error.  That could be a potential
    problem.

					-Matt



Re: Some Diablo questions!
#16420
Author: Ragnar Lonn
Date: Thu, 27 Mar 1997 00:00
27 lines
1699 bytes
In article <5h8625$8f2@flea.best.net>, dillon@flea.best.net (Matt Dillon) 
wrote:
>
>:>Another thing - do I have to kill all Diablo processes and run rc.news 
>:>to make Diablo read the dnewsfeeds file again after I've changed some-
>:>thing in it?  When I sent a HUP signal to Diablo, it exited :-I    I don't
>:>want to interrupt incoming feeds unless I have to...
>:>
>:>  /Ragnar, Algonet
>
>    Nope, you just edit the dnewsfeeds file.  Diablo will pick it up within
>    5 minutes or so (even the servers that are already forked and running).
>
>    That was the *first* thing I designed :-)
>

Hmm, I never thought about letting it run on and see what happened...
I'm too used to programs that need signals to reload their config files
I guess ;)   The same applies to diablo.hosts then?

I suppose nothing bad will happen if Diablo tries to load a config
file that has changed, and find a syntax error in it?

  /Ragnar, Algonet

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