🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Greg Cook Mon, 26 Oct 1998 00:00
Diablo requires > 4 Gigs?
#32538
Author: Greg Cook
Date: Mon, 26 Oct 1998 00:00
25 lines
1492 bytes
I know this might sound like a really stupid question, but here goes:

I am moving to using Diablo as our main transit server (as it was designed
as such) and have a few questions.
I only need Diablo to hold the articles 15 minutes or so as it tosses to
our internal servers and our peering servers. All delayed feeds are sent
from one of our internal servers not our backbone transit (Diablo). 

1. Is there any way to set Diablo up to remove the articles after a short
(less than one hour) time? 

2. If so, how much space (est) is this going to require. We do not carry
any alt.bin* or alt.sex* and are generally against binary and HTML posts.
 
I would like to use Diablo but not at the cost of several gigabytes of
space. Any suggestions are appreciated.


Greg Cook

(Yes public is a real address that accepts mail. It is just exposed to the
outside world :)


Re: Diablo requires > 4 Gigs?
#32524
Author: Joe Greco
Date: Mon, 26 Oct 1998 00:00
26 lines
1842 bytes
In news.software.nntp article <01be0127$1dd1e5c0$4ed5e4cd@newsmaster.vnews.net>, "Greg Cook" <public@vnews.net> wrote:
:I know this might sound like a really stupid question, but here goes:
:
:I am moving to using Diablo as our main transit server (as it was designed
:as such) and have a few questions.
:I only need Diablo to hold the articles 15 minutes or so as it tosses to
:our internal servers and our peering servers. All delayed feeds are sent
:from one of our internal servers not our backbone transit (Diablo). 
:
:1. Is there any way to set Diablo up to remove the articles after a short
:(less than one hour) time? 

I call quadhr.expire every hour.  Works for me.  Usually.

:2. If so, how much space (est) is this going to require. We do not carry
:any alt.bin* or alt.sex* and are generally against binary and HTML posts.

I have been known to fill an 8GB /news when coming back from a downtime.
I do take binaries and I use the box similarly to what you propose.

:I would like to use Diablo but not at the cost of several gigabytes of
:space. Any suggestions are appreciated.

... JG

Re: Diablo requires > 4 Gigs?
#32526
Author: Matt Dillon
Date: Mon, 26 Oct 1998 00:00
57 lines
3116 bytes
:In article <01be0127$1dd1e5c0$4ed5e4cd@newsmaster.vnews.net>,
:Greg Cook <public@vnews.net> wrote:
:>I know this might sound like a really stupid question, but here goes:
:>
:>I am moving to using Diablo as our main transit server (as it was designed
:>as such) and have a few questions.
:>I only need Diablo to hold the articles 15 minutes or so as it tosses to
:>our internal servers and our peering servers. All delayed feeds are sent
:>from one of our internal servers not our backbone transit (Diablo). 
:>
:>1. Is there any way to set Diablo up to remove the articles after a short
:>(less than one hour) time? 

    Yes.

:>2. If so, how much space (est) is this going to require. We do not carry
:>any alt.bin* or alt.sex* and are generally against binary and HTML posts.

    Typically you need about 2x worth of free space that would otherwise
    be used up by incoming articles in the period of time between dexpire
    runs.
 
:>I would like to use Diablo but not at the cost of several gigabytes of
:>space. Any suggestions are appreciated.
:>
:>
:>Greg Cook

    Ok, this is how you do it:  You run dexpire from cron more often, but
    you use the '-h0' option to tell DExpire to NOT update the dhistory
    database on these short runs.  This means that all DExpire does is
    figure out the free space and remove() files and directories as needed
    to maintain the free space margin.  Doing just this will make dexpire
    go very fast, suitable for being run more often from cron.

    You also set the free space margin (-r option) much lower.  The default
    free space margin of 2G is designed for running dexpire once an hour
    or so with a full feed.  If you are running it every 10 minutes with 
    less then a full feed, adjust the free space margin lower... maybe 
    to 200MB.

    You still want to run dexpire normally (without the -h0 option) every
    few hours to make sure the dhistory database gets updated.

    NOTE:  I do not suggest a spool so small that you can only hold 15 minutes
    worth of news.  You will want to be able to hold at least a few hours
    worth if you can.  If you are not pushing binaries, A 4G spool should be
    fine but I wouldn't go much lower.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Diablo requires > 4 Gigs?
#32536
Author: Matt Dillon
Date: Mon, 26 Oct 1998 00:00
23 lines
1464 bytes
:>    to 200MB.
:>
:>    You still want to run dexpire normally (without the -h0 option) every
:>    few hours to make sure the dhistory database gets updated.

    Oh, let me add something here... when you are running dexpire from
    several different cron jobs, you may want to adjust the plock stuff.
    Rather then abort the dexpire run if it can't get the lock, the 
    less-often-run dexpire (without the -h0 option) should probably wait for
    the lock synchronously to ensure it gets run.

    man dexpire

    Look at sup/plock.c (sorry, no man page for plock)

							-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Diablo requires > 4 Gigs?
#32582
Author: Greg Cook
Date: Wed, 28 Oct 1998 00:00
25 lines
1491 bytes

Matt Dillon wrote:

>     Oh, let me add something here... when you are running dexpire from
>     several different cron jobs, you may want to adjust the plock stuff.
>     Rather then abort the dexpire run if it can't get the lock, the
>     less-often-run dexpire (without the -h0 option) should probably wait for
>     the lock synchronously to ensure it gets run.
>

Noted.

>     Look at sup/plock.c (sorry, no man page for plock)
>

Man pages: The things written after the software has already been discarded
    as outdated and unusable.

Thanks for the help. Now on to transfering a feed. :)

Greg Cook


Re: Diablo requires > 4 Gigs?
#32601
Author: Greg Cook
Date: Wed, 28 Oct 1998 00:00
26 lines
1812 bytes

Matt Dillon wrote:

>     NOTE:  I do not suggest a spool so small that you can only hold 15 minutes
>     worth of news.  You will want to be able to hold at least a few hours
>     worth if you can.  If you are not pushing binaries, A 4G spool should be
>     fine but I wouldn't go much lower.
>

I rummaged through the Y2K castoffs and found a few older SCSI-2 drives and
raided them together in the e-com machine, shuffled its bigger drive over to the
Diablo box and now have a 4 gig spool area. I was just concerned with the >18
gigs here and > x gigs there. I do not wish to invest that kind of space in a
machine
that is only a transit box. Our main reader box here has 36Gigs (4x9G) of space
which works just fine minus the binaries and such. I was sweating about _having_
to split up the drives to enable the Diablo box.

My hat is of to you on the undertaking of Diablo. INN was okay, but way to big
of a footprint to be very usable here.

Greg Cook


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