Article View: news.software.nntp
Article #13076Re: nntpsend and backup feeds
From: Jesper Skriver
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
45 lines
1958 bytes
1958 bytes
Jeff Garzik <jeff.garzik@spinne.com> wrote:
>I am currently fed via a main feed and a backup feed. I implemented the
>"backup feed" by running nntpsend in cron [on the backup feed news
>server] once every 30 minutes.
>
>Since the main feed is very up-to-date and close to the hubs, this works
>out well. Most of the backup feed's articles are refused (since they
>already arrived), and the rest fill in the gaps.
>
>This is at hack at best, however. Since nntpsend only runs once every
>30 minutes, user posts to the backup server only get transmitted once
>every 30 minutes.
>
>Ideally, I would like some way to tell nntpsend to "send batched news to
>all sites _but_ Jeff's site", and then once every hour or two, "send
>batched news only to Jeff's site".
>
>I'm running INN 1.5 on Linux, and the backup feed is running INN 1.4 on
>Linux.
>
>My questions,
>(a) Can I finagle nntpsend to do what I want?
You can have 2 nntpsend's
Take a copy of /news/bin/nntpsend to /news/bin/nntpsend.new
Edit /news/bin/nntpsend.new
and change the line
CTLFILE=${NEWSLIB}/nntpsend.ctl
to
CTLFILE=${NEWSLIB}/nntpsend.new.ctl
and copy nntpsend.ctl to nntpsend.new.ctl
and edit nntpsend.ctl to include all sites but Jeff's
and nntpsend.new.ctl to include only Jeff's site
now you can run /news/bin/nntpsend every 1 or 5 minutes, and
/news/bin/nntpsend.new every hour or so.
/Jesper
Technical Details
Message-ID:
<32a9af51.11851468@193.162.146.10>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-mailReferences:
<32A8F1BE.3337C475@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <32a9af51.11851468@193.162.146.10> Subject: Re: nntpsend and backup feeds Date: Sat, 07 Dec 1996 00:00:00 +0000 From: jesper@tdk.net (Jesper Skriver) References: <32A8F1BE.3337C475@spinne.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 X-Deja-AN: 202867015 Organization: Tele Danmark Internet Newsgroups: news.software.nntp