🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32526

Re: Diablo requires > 4 Gigs?

#32526
From: 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)

Technical Details
Message-ID: <712rbs$1up$1@flea.best.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <01be0127$1dd1e5c0$4ed5e4cd@newsmaster.vnews.net>

Show Full Headers
Complete Article Headers
Message-ID: <712rbs$1up$1@flea.best.net>
Subject: Re: Diablo requires > 4 Gigs?
Date: Mon, 26 Oct 1998 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <01be0127$1dd1e5c0$4ed5e4cd@newsmaster.vnews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 405336615
X-Trace: nntp1.ba.best.com 909439173 29761 dillon@206.184.139.131
Organization: BEST Internet Communications, Inc. www.best.com
Newsgroups: news.software.nntp