Article View: news.software.nntp
Article #1895Re: INN: Answer to all my problems??
From: Doug Sewell
Date: Fri, 21 May 1993 17:34
Date: Fri, 21 May 1993 17:34
119 lines
7607 bytes
7607 bytes
Rich Braun (richb@jti.com) wrote:
: My question remains, though. Ignoring the issue of _whether_ I can run
: INN at all (for memory considerations, etc), which is what people have
: been commenting on thus far, what _advantages_ does INN convey over C-news,
: presuming that one already has C-news and NNTP 1.5.11 up and running
: reasonably reliably? The answers I'm hoping to hear have to do with ease
: of altering feeds, monitoring traffic/resources, and so on.
I'll bite.
When I first installed C-News and NNTP, it was on an NCR Tower with SVR3,
WIN-TCP and the 65K inode limit (and not enough disk space even when I
made multiple filesystems). I had to babysit this machine a lot. The
problems weren't in C-News and NNTP, it was that the machine was too slow
and old for the job (I was running the 12/91 C-News - the last pre-perfor-
mance version - and NNTP 1.5.11, which I had to port to cursed WIN-TCP).
In January - JUST after I got back from vacation - the machine started to
flake out. We'd ordered a Sun IPC for exclusive use of netnews and coaxed
Sun to expedite the order. With just enough notice to grab important stuff
like the active-file and C-News config files, the server gave up the ghost
on Tuesday. On Thursday the Sun with 8MB of memory and 200MB+1.3GB disk
was configured for the same version of C-News and NNTP. The extra 32MB
of memory hadn't arrived yet.
My problems went away. No more babysitting. No more therapeutic reboots.
No more full disks, hung nntpds, nasty stuff like that. I had two days of
news backlogged from down-time, and within 1.5 days it had not only cleared
the backlog but caught up with the current news as well. I was happy.
And on top of that, I could now offer the news spool for NFS mounting.
For maintenance purposes, I upgraded to the "fixed performance release"
(2/20?/93) of C-News, and saw another improvement in the machine's running.
This is an environment with 2 fast (one INN+nntplink, one C-News+msgidd+
daemon relaynews+nntplink) primary newsfeeds, half-a-dozen full outgoing
nntplink feeds, numerous trivial incoming and outgoing feeds, and a few
e-mail<->news gateways. At peak times the load on the machine would hit
3.25 or so, and I'd get perhaps 10% duplicates tops (articles sitting in
batches when it's offered from a second site). I didn't bother with the
msgidd or daemon relaynews patches because the authors of this code are
now running INN, and I didn't want to have to depend on it continuing to
be available. I was satisfied anyway. I didn't need INN, INN 1.3 appeared
to be buggy, and I hadn't received the extra memory yet.
INN 1.4 came out. It was stable, clean, and gave me the REAL advantage
that 1.3 would've given me - using the NOV databases to satisfy XHDR
requests. This meant that rather than opening each article in the range
for each XHDR article, the .overview index would be opened once per XHDR
request. Since the FreePort newsreader used on Youngstown Free-Net and
the NNR newsreader for VM both use XHDR heavily, this looked like a BIG
win. (Ed Rynes of Case Western Reserve told me that going from INN 1.2
to 1.4 with this feature cut the load on his news-server in half).
There was another minor advantage: it seems that nntp 1.5.11 isn't going
anywhere, 1.6 doesn't look to be on the horizon, and it's already out of
sync with C-News (the relative vs absolute path problem, a genuine FAQ
for news.software.{b,nntp}). Numerous speed-ups, assists for various
newsreaders, and enhancements have been posted over the years, but they
were never rolled into a nntp 1.5.12. The more granular handling of
control messages that INN gives looked nice, as well.
I sat down, retrieved INN, and built it. Being a Sun running SunOS 4.1.3,
it was pretty-much out-of-the-box once I'd also built gnu sed, gnu grep,
and gnu awk. I didn't bother with GCC, INN builds just fine with the
stock Sun CC. I had to use some patches for FreePort and write some
for tin, this took some time.
The hardest part was getting files configured. The syntax is different,
the ordering is different, and in some cases meanings were different. The
sys->newsfeeds file was the worst, because of 20 outgoing feeds to files,
e-mail gateways, and heaven knows what else. Sys2nf didn't help as much
as I'd like, because I replicated all accepted hierarchies into the dis-
tributions for outgoing sites as well. I also had an auto-replier for
*.test that depended on some C-News code, but I could live without that.
Once I was sure all of the files were configured, I posted a notice that
at noon the news-server was going down for "maintenance". An hour later,
we were up and running INN. I had renamed the old /usr/lib/news and /usr
/lib/newsbin and put symbolic links pointing to /usr/lib/inn.
There were glitches: tind - which I'd never run before - had a nasty habit
of grabbing and keeping hold of the active file. This took several days -
and a few "let's try this" rebuilds of INN - to figure out. I had some mis-
takes in my newsfeeds and nnrp.access files, but nothing critical. I botched
converting some file->nntplink to logfile->nntplink feeds and fixed that, but
that wasn't INN's fault.
Am I happy ? Yes. Would I do it again ? For this environment, yes. I
still support three machines running C-News and NNTP 1.5.11, and they'll
stay on it for a long time to come - they don't need it for what they do.
Duplicates are zero, because of the real-time processing of incoming news.
The news-server runs at a steady load < 1, except when tind kicks in (I'll
be glad when the next version of tin uses XOVER and tind and INN patches
are gone completely).
Are my users happy ? You bet. Posts typically go through in < 2 seconds.
Large groups like alt.sex and talk.politics.misc come up in seconds rather
than minutes on newsreaders that use XHDR a lot.
That's why I switched. Your mileage may vary.
My number 1 recommendation: RTFM. Read Tom Limoncelli's FAQ posts about INN.
RTFM again. Then build and configure INN. This spared me a lot of pain
that others have gone through.
My number 2 recommendation: make sure the machine doesn't need baby-sitting
now. If you're tight on disk space, CPU, memory, bandwidth, etc. then INN
probably won't help - and may hurt. If you disable the dbzincore() you
could probably get by with less memory. The probable exception to this
recommendation is if you're running B-News... either C-News or INN will
give you back plenty of the machine.
--
Doug Sewell, Tech Support, Computer Center, Youngstown State University
doug@cc.ysu.edu doug@ysub.bitnet <internet>!cc.ysu.edu!doug
uuencode bunny.dropping < core | mail jp@tygra.michigan.com
Technical Details
Message-ID:
<1tj3rh$d69@news.ysu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!wupost!sdd.hp.com!nigel.msen.com!caen!malgudi.oar.net!news.ysu.edu!dougReferences:
<C7Dqo4.MpL@jti.com>Show Full Headers
Complete Article Headers
Message-ID: <1tj3rh$d69@news.ysu.edu> Subject: Re: INN: Answer to all my problems?? Date: Fri, 21 May 1993 17:34:41 +0000 From: doug@cc.ysu.edu (Doug Sewell) References: <C7Dqo4.MpL@jti.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!wupost!sdd.hp.com!nigel.msen.com!caen!malgudi.oar.net!news.ysu.edu!doug Newsgroups: news.admin,news.software.nntp Followup-To: news.admin,news.software.nntp Organization: Youngstown State University Lines: 118 Distribution: inet NNTP-Posting-Host: unix1.cc.ysu.edu X-Newsreader: TIN [version 1.1 PL9]