Thread View: news.software.nntp
18 messages
18 total messages
Started by Andrew Farmer
Tue, 28 Sep 1999 00:00
Newbie INN newsfeed question
Author: Andrew Farmer
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
21 lines
1301 bytes
1301 bytes
I've just set up a couple of machine running INN 2.2 and am a little confused about the best way to set up a newsfeed between the two. I'm really unsure about the difference or interaction between innfeed, nntplink, nntpsend, innxmit and all the other buzzwords that are new to me (I've been running C news for years but I'm new to INN). Any pointers or advice gratefully received.... Thanks in advance, arf -- ======================================================================= E-MAIL: arf@hplb.hpl.hp.com IN-REAL-LIFE: Andrew Farmer ORGANISATION: Hewlett-Packard Laboratories, Bristol ADDRESS: Filton Road, Stoke Gifford, Bristol, England, BS12 6QZ TELEPHONE: +44 117 312 8787
innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Sico Bruins
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
26 lines
1681 bytes
1681 bytes
In article <ylyadrp0ix.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: [mostly deleted for brevity] >You probably don't want innfeed to do that since the syslog traffic would >be rather heavy, but it's nice to be able to get occasionally. But that >should just be added to innfeed as an optional thing. Hm, my problem with innfeed (the one that came with inn-2.2) is that it refuses to provide me with syslog entries for statistics that the manpage promises me. I have the following settings in innfeed.conf: connection-stats: true stats-period: 600 stats-reset: 43200 However, I never get any stats from innfeed anywhere, not in news.notice and not in /var/adm/messages. This is on a Solaris 7 system, if that matters. Anyone any ideas as to what I can do to solve the problem? CU, Sico (http://people.a2000.nl/sico/).
Re: Newbie INN newsfeed question
Author: bill davidsen
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
43 lines
2861 bytes
2861 bytes
In article <FIrM8p.DIs@hplb.hpl.hp.com>, Andrew Farmer <arf@hpl.hp.com> wrote: | I've just set up a couple of machine running INN 2.2 and am a little confused about the best way to set up a newsfeed between the two. | | I'm really unsure about the difference or interaction between innfeed, | nntplink, nntpsend, innxmit and all the other buzzwords that are new to me | (I've been running C news for years but I'm new to INN). nntplink is a realtime feed, as is innfeed, and I can't think of any good reason to use nntplink anymore, as you can have multiple channels to the same host to handle "urgent" posts. However, innxmit is another item completely. It is still the solution of choice when you have a special case, such as refeeding a list of articles built from some selection criteria, getting more detailed rejection logging for testing, and for sites which are either not up all the time or which want a feed at a particular time to work around heavy load periods. In Europe I'm told that some providers have time sensitive connect rates. Innxmit is also good as a backup feed, by slightly hacking the nntpsend script you can insert a small delay between the file rename and the send, such that you will only offer the articles under normal circumstances, but if the remote's primary feed goes down you will provide the articles, albiet several minutes delayed. Actually, the ihave/sendme protocol is not dead for backup feeds, particularly to sites which just want to be dead certain they didn't miss an article. That's another topic for your future reading. | Any pointers or advice gratefully received.... This newsfeed stuff can be really fun, but for more cases you want innfeed and nothing else. You will undoubtedly have others tell you that without explaining why, but that doesn't cut it if you want to become a good news admin. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Russ Allbery
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
28 lines
1734 bytes
1734 bytes
Sico Bruins <sico@xs4.xs4all.nl> writes: > Hm, my problem with innfeed (the one that came with inn-2.2) is that it > refuses to provide me with syslog entries for statistics that the > manpage promises me. I have the following settings in innfeed.conf: > connection-stats: true > stats-period: 600 > stats-reset: 43200 > However, I never get any stats from innfeed anywhere, not in news.notice > and not in /var/adm/messages. This is on a Solaris 7 system, if that > matters. They're logged as news.notice; that's where they should be going. This works fine for me. You should be seeing lines looking something like: Sep 28 14:56:58 headwall.Stanford.EDU innfeed[23984]: <remote> checkpoint seconds 34800 offered 8701 accepted 3352 refused 3676 rejected 488 missing 1 accsize 20194648 rejsize 649235 spooled 7 on_close 0 unspooled 109 deferred 1184/0.2 requeued 0 queue 0.0/10:100,0,0,0,0,0 (With somewhat less information, since the above is from 2.3.) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Newbie INN newsfeed question
Author: Paul Tomblin
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
16 lines
1451 bytes
1451 bytes
In a previous article, arf@hpl.hp.com (Andrew Farmer) said: >I'm really unsure about the difference or interaction between innfeed, >nntplink, nntpsend, innxmit and all the other buzzwords that are new to me >(I've been running C news for years but I'm new to INN). You should definitely use innfeed. Don't worry about nntpsend and innxmit, they are yesterday's news - innfeed replaces both of them. I have no idea what nntplink is, but I don't use them. -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Russ Allbery
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
14 lines
1192 bytes
1192 bytes
Sico Bruins <sico@xs4.xs4all.nl> writes: > I fully agree with you, but all innfeed logs to news.notice is stuff > like connection vanishing, non-responsive connection, idle tearing down > connection and the like. I think I'll go and examine the source code > tomorrow as I would really like to see those statistics logged. That sounds like the stuff that's logged at level err and should be in news.err. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Paul Tomblin
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
39 lines
3057 bytes
3057 bytes
In a previous article, sico@xs4.xs4all.nl (Sico Bruins) said: >However, I never get any stats from innfeed anywhere, not in news.notice >and not in /var/adm/messages. This is on a Solaris 7 system, if that >matters. What do you have in your /etc/syslog.conf? Because looking at my Solaris 7 system running inn 2.2.1, I see lots of this sort of thing in news.notice: Sep 28 17:26:03 freenet9 innfeed[17637]: freenet-news checkpoint seconds 600 offered 46 accepted 46 refused 0 rejected 0 missing 0 spooled 0 on_close 0 unspooled 0 deferred 0 requeued 0 queue 0.0/200:98,2,0,0,0,0 Sep 28 17:31:16 freenet9 innfeed[17637]: ME articles active 0 bytes 0 Sep 28 17:31:16 freenet9 innfeed[17637]: ME articles total 34 bytes 75493 Sep 28 17:36:03 freenet9 innfeed[17637]: freenet-news checkpoint seconds 1200 offered 76 accepted 76 refused 0 rejected 0 missing 0 spooled 0 on_close 0 unspooled 0 deferred 0 requeued 0 queue 0.0/200:100,0,0,0,0,0 Sep 28 17:41:16 freenet9 innfeed[17637]: ME articles active 0 bytes 0 Sep 28 17:41:16 freenet9 innfeed[17637]: ME articles total 44 bytes 101889 Sep 28 17:46:03 freenet9 innfeed[17637]: freenet-news checkpoint seconds 1800 offered 119 accepted 119 refused 0 rejected 0 missing 0 spooled 0 on_close 0 unspooled 0 deferred 0 requeued 0 queue 0.0/200:100,0,0,0,0,0 Sep 28 17:51:16 freenet9 innfeed[17637]: ME articles active 0 bytes 0 Sep 28 17:51:16 freenet9 innfeed[17637]: ME articles total 34 bytes 62143 Sep 28 17:55:07 freenet9 innfeed[17637]: freenet-news mode no-CHECK entered [0.90,0.95,0.95] Sep 28 17:56:03 freenet9 innfeed[17637]: freenet-news checkpoint seconds 2400 offered 155 accepted 155 refused 0 rejected 0 missing 0 spooled 0 on_close 0 unspooled 0 deferred 0 requeued 0 queue 0.0/200:100,0,0,0,0,0 Sep 28 18:01:16 freenet9 innfeed[17637]: ME articles active 0 bytes 0 Sep 28 18:01:16 freenet9 innfeed[17637]: ME articles total 37 bytes 91499 -- Paul Tomblin, not speaking for anybody. SETI@Home: Finally a *good* way to impress Jodie Foster http://www.setiathome.ssl.berkeley.edu/
Re: Newbie INN newsfeed question
Author: Russ Allbery
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
26 lines
1819 bytes
1819 bytes
Paul Tomblin <ptomblin@xcski.com> writes: > In a previous article, arf@hpl.hp.com (Andrew Farmer) said: >> I'm really unsure about the difference or interaction between innfeed, >> nntplink, nntpsend, innxmit and all the other buzzwords that are new to >> me (I've been running C news for years but I'm new to INN). > You should definitely use innfeed. Don't worry about nntpsend and > innxmit, they are yesterday's news - innfeed replaces both of them. I still use nntpsend/innxmit for a reasonable number of feeds that get on the order of dozens of articles in a day, as well as for one feed that's just amazingly slow to accept articles. One can argue about efficiency either way, but it felt cleaner to me to pull them out of my innfeed setup and dump them in simple files that are almost always zero. innxmit also currently has a major advantage over innfeed for some purposes in that it will tell you *why* your peer is rejecting articles. You probably don't want innfeed to do that since the syslog traffic would be rather heavy, but it's nice to be able to get occasionally. But that should just be added to innfeed as an optional thing. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Newbie INN newsfeed question
Author: greg andruk
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
15 lines
1232 bytes
1232 bytes
Paul Tomblin <ptomblin@xcski.com> wrote: > You should definitely use innfeed. Don't worry about nntpsend and > innxmit, they are yesterday's news - innfeed replaces both of them. They're still nifty for backup and limited-hours feeds, though xbatch can be nicer for that if you can use it. > I have no idea what nntplink is, but I don't use them. nntplink was an older semi-real-time feeder simliar to innfeed that fed off the news log. I don't think it ever picked up things like streaming, and it pretty much disappeared after innfeed matured.
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: bill davidsen
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
30 lines
2209 bytes
2209 bytes
In article <7srfvu$7i3$1@xs4.xs4all.nl>, Sico Bruins <sico@xs4.xs4all.nl> wrote: | In article <yl1zbilmvx.fsf@windlord.stanford.edu>, | Russ Allbery <rra@stanford.edu> wrote: | >They're logged as news.notice; that's where they should be going. This | >works fine for me. You should be seeing lines looking something like: | > | >Sep 28 14:56:58 headwall.Stanford.EDU innfeed[23984]: <remote> checkpoint | >seconds 34800 offered 8701 accepted 3352 refused 3676 rejected 488 missing | >1 accsize 20194648 rejsize 649235 spooled 7 on_close 0 unspooled 109 | >deferred 1184/0.2 requeued 0 queue 0.0/10:100,0,0,0,0,0 | > | >(With somewhat less information, since the above is from 2.3.) | | I fully agree with you, but all innfeed logs to news.notice is stuff like | connection vanishing, non-responsive connection, idle tearing down | connection and the like. I think I'll go and examine the source code | tomorrow as I would really like to see those statistics logged. What are you looking for? As you can see, the offered, accepted, etc, are all in the log. What additional information is missing? -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Sico Bruins
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
29 lines
2018 bytes
2018 bytes
In article <yl1zbilmvx.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >Sico Bruins <sico@xs4.xs4all.nl> writes: [stuff deleted for brevity] >> However, I never get any stats from innfeed anywhere, not in news.notice >> and not in /var/adm/messages. This is on a Solaris 7 system, if that >> matters. > >They're logged as news.notice; that's where they should be going. This >works fine for me. You should be seeing lines looking something like: > >Sep 28 14:56:58 headwall.Stanford.EDU innfeed[23984]: <remote> checkpoint >seconds 34800 offered 8701 accepted 3352 refused 3676 rejected 488 missing >1 accsize 20194648 rejsize 649235 spooled 7 on_close 0 unspooled 109 >deferred 1184/0.2 requeued 0 queue 0.0/10:100,0,0,0,0,0 > >(With somewhat less information, since the above is from 2.3.) I fully agree with you, but all innfeed logs to news.notice is stuff like connection vanishing, non-responsive connection, idle tearing down connection and the like. I think I'll go and examine the source code tomorrow as I would really like to see those statistics logged. CU, Sico (reporting is at http://people.a2000.nl/sico/).
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Sico Bruins
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
22 lines
1573 bytes
1573 bytes
In article <7srdvr$k4a$1@piper.xcski.com>, Paul Tomblin <ptomblin@xcski.com> wrote: >In a previous article, sico@xs4.xs4all.nl (Sico Bruins) said: >>However, I never get any stats from innfeed anywhere, not in news.notice >>and not in /var/adm/messages. This is on a Solaris 7 system, if that >>matters. > >What do you have in your /etc/syslog.conf? Because looking at my Solaris 7 >system running inn 2.2.1, I see lots of this sort of thing in news.notice: [rest deleted for brevity] Indeed, I have yet again been bitten by that goddamn awful syslogd from Sun. Somehow I managed to modify /etc/syslog.conf now so that the innfeed statistics finally get logged. ;-) Thanks for the replies anyway, people! CU, Sico.
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Sico Bruins
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
23 lines
1739 bytes
1739 bytes
In article <7stbo5$iv$1@newssvr02.news.prodigy.com>, bill davidsen <davidsen@tmr.com> wrote: >In article <7srfvu$7i3$1@xs4.xs4all.nl>, >Sico Bruins <sico@xs4.xs4all.nl> wrote: >| In article <yl1zbilmvx.fsf@windlord.stanford.edu>, >| Russ Allbery <rra@stanford.edu> wrote: [stuff deleted for brevity] >| I fully agree with you, but all innfeed logs to news.notice is stuff like >| connection vanishing, non-responsive connection, idle tearing down >| connection and the like. I think I'll go and examine the source code >| tomorrow as I would really like to see those statistics logged. > > What are you looking for? As you can see, the offered, accepted, etc, >are all in the log. What additional information is missing? Uhm, I was quoting from Russ' news.notice. The information is completely missing from my own log files. :-( CU, Sico (http://people.a2000.nl/sico/).
Re: innfeed logging (was: Re: Newbie INN newsfeed question)
Author: Sico Bruins
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
28 lines
1947 bytes
1947 bytes
In article <7svlqo$8q7$1@xs4.xs4all.nl>, Sico Bruins <sico@xs4.xs4all.nl> wrote: >In article <7stbo5$iv$1@newssvr02.news.prodigy.com>, >bill davidsen <davidsen@tmr.com> wrote: >>In article <7srfvu$7i3$1@xs4.xs4all.nl>, >>Sico Bruins <sico@xs4.xs4all.nl> wrote: >>| In article <yl1zbilmvx.fsf@windlord.stanford.edu>, >>| Russ Allbery <rra@stanford.edu> wrote: > >[stuff deleted for brevity] > >>| I fully agree with you, but all innfeed logs to news.notice is stuff like >>| connection vanishing, non-responsive connection, idle tearing down >>| connection and the like. I think I'll go and examine the source code >>| tomorrow as I would really like to see those statistics logged. >> >> What are you looking for? As you can see, the offered, accepted, etc, >>are all in the log. What additional information is missing? > >Uhm, I was quoting from Russ' news.notice. The information is completely >missing from my own log files. :-( Oh, forget it, I've been bitten again by the Sun syslog daemon. ;-) CU, Sico (http://people.a2000.nl/sico/).
Re: innfeed logging
Author: Andrew Gierth
Date: Sun, 03 Oct 1999 00:00
Date: Sun, 03 Oct 1999 00:00
17 lines
1585 bytes
1585 bytes
>>>>> "Kai" == Kai Henningsen <kaih> writes: Kai> But is there a particular reason people don't just port, say, Kai> the usual Linux syslogd (or some other freely available variant) Kai> to replace the Solaris one? (Or indeed, is there a reason *Sun* Kai> is not doing this?) Solaris syslog/syslogd is based on a funky doors-based implementation which is wonderful at such times as it happens to work, but seems to introduce all sorts of bizarre failure modes (you do _not_ want to see what happens if you call syslog() after having reached your file descriptor limit). -- Andrew.
Re: innfeed logging
Author: Kai Henningsen
Date: Sun, 03 Oct 1999 00:00
Date: Sun, 03 Oct 1999 00:00
25 lines
1776 bytes
1776 bytes
sico@xs4.xs4all.nl (Sico Bruins) wrote on 30.09.99 in <7svnlq$asi$1@xs4.xs4all.nl>: > Indeed, I have yet again been bitten by that goddamn awful syslogd from > Sun. Somehow I managed to modify /etc/syslog.conf now so that the innfeed > statistics finally get logged. ;-) I've seen this come up again, and again, and again ... Now I don't have to cope with Solaris, so it actually doesn't matter to me one way or another. But is there a particular reason people don't just port, say, the usual Linux syslogd (or some other freely available variant) to replace the Solaris one? (Or indeed, is there a reason *Sun* is not doing this?) It just seems so painfully obvious a move to me that I wonder what I'm missing here ... Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: innfeed logging
Author: Brad Knowles
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
27 lines
2050 bytes
2050 bytes
In article <7QBNm9V1w-B@khms.westfalen.de>,
kaih=7QBNm9V1w-B@khms.westfalen.de (Kai Henningsen) wrote:
> But is there a particular reason people don't just port, say, the usual
> Linux syslogd (or some other freely available variant) to replace the
> Solaris one? (Or indeed, is there a reason *Sun* is not doing this?)
>
> It just seems so painfully obvious a move to me that I wonder what I'm
> missing here ...
Yeah, like it doesn't work. Sun changed the way syslog is handled,
and the standard syslogd code will compile and listen on the appropriate
port for log information from other systems, but can't catch anything
logged on the local system.
I'm not sure, but I think the two replacement versions of syslog
(nsyslog and ssyslog?) will both compaile and work properly under recent
versions of Sun Solaris, however.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Re: innfeed logging
Author: Russ Allbery
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
18 lines
1357 bytes
1357 bytes
Brad Knowles <brad@shub-internet.org> writes: > I'm not sure, but I think the two replacement versions of syslog > (nsyslog and ssyslog?) will both compaile and work properly under recent > versions of Sun Solaris, however. Where recent =~= Solaris 2.6, which IIRC is when they introduced doors for things other than DNS lookups. Before that, you just had to deal with streams. A *fully-patched* Solaris syslogd does reasonably well; it just has an impossibly picky syslog.conf parser. (Tabs and blank lines are vitally important.) -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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