🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Dave Sill Wed, 01 Apr 1998 00:00
INN 1.7.2.insync-1.1d and inpaths
#27360
Author: Dave Sill
Date: Wed, 01 Apr 1998 00:00
12 lines
1046 bytes
I set up a PATHS! feed to log path headers, but inpaths (Landon Curt
Noll's version) wants each line prefixed with "Path:". Before I go
hacking up inpaths, has somebody already done that--or am I missing
something?

-- 
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov>  <URL:http://web.infoave.net/~dsill>
Lockheed Martin Energy Research  Oak Ridge National Lab   Workstation Support
Take the qmail Challenge.  See <URL:http://web.infoave.net/~dsill/qmail.html>

Re: INN 1.7.2.insync-1.1d and inpaths
#27351
Author: Yar Tikhiy
Date: Wed, 01 Apr 1998 00:00
16 lines
1165 bytes
Dave Sill wrote:
DS> I set up a PATHS! feed to log path headers, but inpaths (Landon Curt
DS> Noll's version) wants each line prefixed with "Path:". Before I go
DS> hacking up inpaths, has somebody already done that--or am I missing
DS> something?

That feature is not very hard to overcome, just use sed 's/^/Path: /'

There is another  not so obvious feature that your PATH! feed writes path
lines that  have no your own site in them, leading to incorect statistics.
So the sed filter should look like 's/^/Path: your.site!/'

SY, Yar

Re: INN 1.7.2.insync-1.1d and inpaths
#27357
Author: Dave Sill
Date: Wed, 01 Apr 1998 00:00
25 lines
1594 bytes
I was going to studlify my response, but XEmacs seems to have done
away with it. :-(

ChaRlIe sTUdLyMufFiN <0xBeDAc0Ed@vszbr.cz> writes:

> Why not UsE thE chAnnEl Feed of inPaThs?

I don't know what you mean.

> Although, in its native stAtE,
> It wAnts tO consume A SiGnifiCant amouNt of CPU and TenDs tO blOcK wheN
> fed Too fasT (lIkE, anyWhere From 3 tO 15 arTicLes/SeC DePenDing on the
> HorsePower of thE boX), I've cReated A MutAnt maRriage beTween This
> chAnnEl Feed version, WhiCh barely appeaRs in `ToP', has NeVeR Blocked,
> and takes negLigibLe time tO Read and Write its StatS fiLe.

Is your mutant version available?
 
-- 
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov>  <URL:http://web.infoave.net/~dsill>
Lockheed Martin Energy Research  Oak Ridge National Lab   Workstation Support
Take the qmail Challenge.  See <URL:http://web.infoave.net/~dsill/qmail.html>

Re: INN 1.7.2.insync-1.1d and inpaths
#27358
Author: ChaRlIe sTUdLyMufFiN
Date: Wed, 01 Apr 1998 00:00
55 lines
3334 bytes
On 1 Apr 1998, Dave Sill wrote:

> I was going to studlify my response, but XEmacs seems to have done
> away with it. :-(

You're no StUdlY muffIn, you're onLy A Sill, and AnYwAy, YoU haVe to
expliCitly loAd-lIbrArY stUdlY now.  ThOuGh, A dIssocIatEd-prEss rEsponsE
Would be pReFeRaBle and mOre apprOpriate, MethInks.


> ChaRlIe sTUdLyMufFiN <0xBeDAc0Ed@vszbr.cz> writes:
> > Why not UsE thE chAnnEl Feed of inPaThs?
> 
> I don't know what you mean.

Neither dO i, asiDe From thAt i ShOuld prObably comPose coMplEtE thoughts
befOre PosTing.  What thE missing WordS Would haVe sAid is someThing lIkE,
raTher than using A lOgfile-baSed version of inpathS, why not UsE the
chAnnEl Feed version WhiCh RequiRes perhapS onLy 100 tO 200kBytes worTh
of Log, raTher than howeVeR ManY meGa- or GiGabyteS thE pAth header
LogfiLe grows tO be befOre YoU CheW throUgh It thE end of Each monTh,
as hacked by sean DoNelaN?

ThE vArIoUs flAvors of inpathS aRe ColleCted At (among oTher places, nO
dOubt) Ftp.eeRie.Fr, Where YoU can piCk and choosE or dowNload 'em all.

What i haVe Done is tO meRge thE FowLer/noll/Vo hash, WhiCh is the
SiGnifiCant imProvemenT beHinD LaNdoN CurT noll'S version, inTo SEan
doLean'S chAnnEl Feed version, tO Give thE bEnEfIt of thE chAnnEl feed's
minimal diSk space needS Along with A SiGnifiCant rEdUctIon in thE CpU
nEedEd, so thAt thE pRogRam dRops From bEing A SiGnifiCant faCtOr, as
well as bEing A Feed thAt no lOnGer bLocks wHen thE artiCleS sTarT tO flY.

TheRe is A differenCe in thE rEsUltIng oUtpUt beTween thE Noll version,
tagged as 2.5, and thE hosts in hash oRdeR, and thE chAnInpAths version,
still tagged as bEing in thE 2.4 famiLy, Where thE hosts AppEar Sorted.
If thAt doesN't AffEct thE FrEenIx caLcuLaTions (thE oTher DaTa whErE
prEsEnt is uncHangeD), then All my bIggEst fEars aRe gRouNdless.


> Is your mutant version available?

DEpEnds.  I'M not HaPpy thAt It DiDn't seem tO WorK oUt-of-The-box uNdeR
FreeBsD and nEedEd some hAckIng tO its coNcept of strIngs/NumBeRs, bUt
if YoU haVe A strong StOmaCh, and doN't miNd FuRtheR massaging It shoUld
It Fail tO be HaPpy fOr YoU, then YoU Could prObably talk me inTo cougHing
Up thE gooDs.  i MeAn, I've been HumiLiaTeD enougH in publiC, so i Have
almost nOthinG left tO lOse, and thE DaniSh NEws Mafia is SeeinG thAt the
last bit of DoubT theRe is RemoVed.

BarRy bOuwsMa, vIctIm of coUntlEss PraCtiCal jOkes


Re: INN 1.7.2.insync-1.1d and inpaths
#27359
Author: Andrew
Date: Wed, 01 Apr 1998 00:00
24 lines
1451 bytes
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov> wrote:
>> Why not UsE thE chAnnEl Feed of inPaThs?

> I don't know what you mean.

He MeAnS.. *cough*hack*ahem*  He means the very machine unfriendly method
of feeding a channel to a grep out to a logfile.  That's not the way to
do it.

Since you're running insync-1.1d, you've already got the nifty path
logging patches in the server already.  Add something like this to
newsfeeds:

path!:*,!junk,!control,!control.*:Tf,WP:/var/log/news/path.log

Et voila, you've got a path log.

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Re: INN 1.7.2.insync-1.1d and inpaths
#27382
Author: ChaRlIe sTUdLyMufFiN
Date: Wed, 01 Apr 1998 00:00
29 lines
2069 bytes
On 1 Apr 1998, Dave Sill wrote:

> I set up a PATHS! feed to log path headers, but inpaths (Landon Curt
> Noll's version) wants each line prefixed with "Path:". Before I go
> hacking up inpaths, has somebody already done that--or am I missing
> something?

Why not UsE thE chAnnEl Feed of inPaThs?  Although, in its native stAtE,
It wAnts tO consume A SiGnifiCant amouNt of CPU and TenDs tO blOcK wheN
fed Too fasT (lIkE, anyWhere From 3 tO 15 arTicLes/SeC DePenDing on the
HorsePower of thE boX), I've cReated A MutAnt maRriage beTween This
chAnnEl Feed version, WhiCh barely appeaRs in `ToP', has NeVeR Blocked,
and takes negLigibLe time tO Read and Write its StatS fiLe.

Of coUrsE, I'M not Sure Whether It ShOuld be caLling itSelf an offsHooT
of version 2.4 or version 2.5, and How thAt aFfects thE StatS cAlcUlAtIon.
I'll jusT haVe tO wAit uNtil my swerver faLls From thE tOp 100 tO decide
thAt I'M doIng thIngs thE wrong Way.  And theRe WaS my expeRieNce with the
big bad frIghtEnIng AIx box thAt has tRaumatically scaRred me fOr liFe,
destRoyiNg my Faith in thE gooDness of hUmAnItY.


baRry Bouwsma, teLe danmark Internet
Hey, this ain't A fUn ApRil FOolS jokE, wEdgIng my swerver wHen I'm
thoUsAnds of KilOmeterS away and unable tO dO anyThing abOut It


Re: INN 1.7.2.insync-1.1d and inpaths
#27393
Author: Russ Allbery
Date: Thu, 02 Apr 1998 00:00
18 lines
1298 bytes
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov> writes:

> Right, like I said at the beginning of the thread, I've already done
> that. The problem is that inpaths wants the lines in the log to start
> with "Path:", which the log generated by this patch doesn't include.

Admittedly, I've never used this particular program (keep meaning to look
at this and haven't had the chance), but....

        sed 's/^/Path: /' /var/log/news/path.log | inpaths -

?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 1.7.2.insync-1.1d and inpaths
#27409
Author: Dave Sill
Date: Thu, 02 Apr 1998 00:00
33 lines
1975 bytes
Andrew <aos@vellocet.insync.net> writes:

> >> Why not UsE thE chAnnEl Feed of inPaThs?
> 
> > I don't know what you mean.
> 
> He MeAnS.. *cough*hack*ahem*  He means the very machine unfriendly method
> of feeding a channel to a grep out to a logfile.  That's not the way to
> do it.

StudlyMuFfiN was describing an improved version of this method that
isn't so machine unfriendly and doesn't generate the huge path.log
file that the insync-1.1d patch method does,

> Since you're running insync-1.1d, you've already got the nifty path
> logging patches in the server already.  Add something like this to
> newsfeeds:
> 
> path!:*,!junk,!control,!control.*:Tf,WP:/var/log/news/path.log
> 
> Et voila, you've got a path log.

Right, like I said at the beginning of the thread, I've already done
that. The problem is that inpaths wants the lines in the log to start
with "Path:", which the log generated by this patch doesn't include.

-- 
Dave Sill <MaxFreedom@sws5.ctd.ornl.gov>  <URL:http://web.infoave.net/~dsill>
Lockheed Martin Energy Research  Oak Ridge National Lab   Workstation Support
Take the qmail Challenge.  See <URL:http://web.infoave.net/~dsill/qmail.html>

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