🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37093

Re: Submitting to Freenix

#37093
From: Arthur Hagen
Date: Wed, 28 Apr 1999 00:00
42 lines
2424 bytes
In article <ylaevtd7n7.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> writes:

> Yup.  I do it for all of my outgoing feeds that include binaries.  Just
> set up two feeds in newsfeeds to two separate innfeed processes that use
> different configuration files:
> 
> # innfeed for small articles (<16KB) and large articles (>16KB).
> innfeed-sm!:!*:Tc,Wnm*:/var/news/bin/startinnfeed -c innfeed-sm.conf
> innfeed-lg!:!*:Tc,Wnm*:/var/news/bin/startinnfeed -c innfeed-lg.conf
> 
> and then for all of our outgoing feeds, split them into two two streams,
> one for larger articles to innfeed-lg! and one for smaller articles to
> innfeed-sm!.  Use the < and > flags in newsfeeds to control this.  For
> example:
> 
> nntp-sm/nntp.stanford.edu:*:<16384,Ap,Tm:innfeed-sm!
> nntp-lg/nntp.stanford.edu:*:>16383,Ap,Tm:innfeed-lg!

Is there any advantage to setting up two different funnel feeds?

As long as they have different names in newsfeeds/innfeed.conf you
can feed them through the same funnel.  And since CPU use isn't
much of an issue with outgoing feeds, I think it would be faster
to use the same funnel feed?

There also seems to be a problem with splitting into more than two parts.
">" and "<" seems to get or'ed and not anded, so this won't work:

host-S:*:<8192,Tm:innfeed!
host-M:*:>8191,<65536,Tm:innfeed!
host-L:*:>65535,Tm:innfeed!

The middle entry will end up feeding everything, cause everything is
either smaller than 64k or larger or equal to 8k.
Any quick solutions for this?  Someone who knows the code well?

Regards,
-- 
*Art

Technical Details
Message-ID: <o5n5g7.a7b.ln@flying.broomstick.com>
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: <7g24e7$ckh$1@info.cs.uofs.edu> <7g5b7l$2ko$1@gondor.sdsu.edu> <ylaevtd7n7.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <o5n5g7.a7b.ln@flying.broomstick.com>
Subject: Re: Submitting to Freenix
Date: Wed, 28 Apr 1999 00:00:00 +0000
From: art@flying.broomstick.com (Arthur Hagen)
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7g5b7l$2ko$1@gondor.sdsu.edu> <ylaevtd7n7.fsf@windlord.stanford.edu>
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: 471720318
X-Complaints-To: abuse@broomstick.com
X-Trace: kether.broomstick.com 925267241 137897 194.52.172.70 (28 Apr 1999 02:40:41 GMT)
Organization: Broomstick Net Services
Reply-To: art@broomstick.com
NNTP-Posting-Date: 28 Apr 1999 02:40:41 GMT
Newsgroups: news.software.nntp