Thread View: news.software.nntp
3 messages
3 total messages
Started by River Tarnell
Fri, 18 Feb 2011 00:40
innfeed reliability
Author: River Tarnell
Date: Fri, 18 Feb 2011 00:40
Date: Fri, 18 Feb 2011 00:40
11 lines
1466 bytes
1466 bytes
Hi, If I configure a newsfeed using innfeed, is it guaranteed that every article accepted from an incoming feed will be sent by innfeed, or are there failure modes (like system crashes or power outages) that can result in some articles being lost? If the latter, is there a workaround, such as using both innfeed and nntpsend to the same site? - river.
Re: innfeed reliability
Author: Julien ÉLIE
Date: Fri, 18 Feb 2011 22:47
Date: Fri, 18 Feb 2011 22:47
37 lines
2686 bytes
2686 bytes
Hi River,
> If I configure a newsfeed using innfeed, is it guaranteed that every
> article accepted from an incoming feed will be sent by innfeed, or are
> there failure modes (like system crashes or power outages) that can
> result in some articles being lost?
It depends on how you are using innfeed.
See for instance what Ian Jackson wrote about innfeed:
https://lists.isc.org/pipermail/inn-workers/2010-May/017220.html
"In particular, the program feed protocol spoken between innd and
innfeed is lossy: if innfeed dies unexpectedly, articles which innd
has written to the pipe to innfeed will be skipped. innd has no way
of telling which articles those are, no useful records, and no code to
retry. I can see no sensible way to solve this problem without using
a different approach to getting articles from innd."
> If the latter, is there a workaround, such as using both innfeed and
> nntpsend to the same site?
Perhaps running innfeed in its funnel-file mode and ensuring it
terminates fine?
http://www.eyrie.org/~eagle/software/inn/docs/innfeed.html
Or using backlog-feed-first in innfeed.conf so that every article is
written to disk before actually being sent? This way, in case of a
system crash, you will have duplicates (normally not an issue because
they will be rejected at the other end) and no losses.
--
Julien ÉLIE
« Après la clairière d'attente, on entre dans la hutte de
consultation. » (Astérix)
Re: innfeed reliability
Author: D. Stussy
Date: Sat, 19 Feb 2011 08:23
Date: Sat, 19 Feb 2011 08:23
37 lines
3266 bytes
3266 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message news:8s8b7dFthkU1@mid.individual.net... > > If I configure a newsfeed using innfeed, is it guaranteed that every > > article accepted from an incoming feed will be sent by innfeed, or are > > there failure modes (like system crashes or power outages) that can > > result in some articles being lost? > > It depends on how you are using innfeed. > See for instance what Ian Jackson wrote about innfeed: > https://lists.isc.org/pipermail/inn-workers/2010-May/017220.html > > "In particular, the program feed protocol spoken between innd and > innfeed is lossy: if innfeed dies unexpectedly, articles which innd > has written to the pipe to innfeed will be skipped. innd has no way > of telling which articles those are, no useful records, and no code to > retry. I can see no sensible way to solve this problem without using > a different approach to getting articles from innd." > > > If the latter, is there a workaround, such as using both innfeed and > > nntpsend to the same site? > > Perhaps running innfeed in its funnel-file mode and ensuring it > terminates fine? > http://www.eyrie.org/~eagle/software/inn/docs/innfeed.html > > Or using backlog-feed-first in innfeed.conf so that every article is > written to disk before actually being sent? This way, in case of a > system crash, you will have duplicates (normally not an issue because > they will be rejected at the other end) and no losses. As long as a server has multiple feeds (including the same content/groups), the chances of an article being lost is substantially reduced as usually at least one of the feeds will transfer the article. Granted, this is not 100% guarenteed. The chances of losing an article increases as the number of feeds for that article approaches 0.
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