Article View: news.software.nntp
Article #23546Re: inn 1.7 rnews too slow on Linux
From: Mark Hittinger
Date: Sat, 22 Nov 1997 00:00
Date: Sat, 22 Nov 1997 00:00
47 lines
2385 bytes
2385 bytes
devin@premier1.net (Devin Ganger) writes: >The problem I was seeing was that rnews was taking an abnormally long >time to process each file. Checking the logs showed that each message >*within* the .bag file was taking, on average, 2-5 *seconds* to process. I ran into a problem here using 'rnews' that was fairly similar. The server that 'rnews' was programmed to connect to had several streaming newsfeeds coming in to it. 'rnews' uses the old style 'ihave/sendme' nntp transactions and does not stream. The incoming feeds that were streaming would monopolize the server's time and held up 'rnews' batches. One solution is to set up a tiny server dedicated to processing those batches and have your 'rnews' talk to that server with its 'ihave/sendme'. That server can then forward the batches with streaming protocol (innxmit/innfeed) to your other host. Another solution is to implement the 'TAKETHIS' nntp transaction into 'rnews' so that 'rnews' can stream. Finally you could unbatch those 'bag' files with a custom program and explode the articles into a local /var/spool/news/junk/1000, /var/spool/news/junk/1001 arrangement. At the same time build an 'innxmit' compatible batch file containing junk/1000 <message id> junk/1001 <message id> etc Then you can use the streaming nntp transactions already implemented within innxmit to get those articles into the destination server a little more fairly. After innxmit has sent those articles then you could 'rm' them. You can either go for the cost of a tiny server or the cost of some software hacking. The tiny server has some other benefits for you (having just those articles coming in via 'rnews' only). Regards, Mark Hittinger Netcom/Dallas bugs@freebsd.netcom.com
Technical Details
Message-ID:
<6570l2$ctt@dfw-ixnews1.ix.netcom.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-mailReferences:
<34766eee.0@satellite.premier1.net>Show Full Headers
Complete Article Headers
Message-ID: <6570l2$ctt@dfw-ixnews1.ix.netcom.com> Subject: Re: inn 1.7 rnews too slow on Linux Date: Sat, 22 Nov 1997 00:00:00 +0000 From: bugs@freebsd.netcom.com (Mark Hittinger) References: <34766eee.0@satellite.premier1.net> 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: 291699364 Organization: Netcom X-NETCOM-Date: Sat Nov 22 10:18:49 AM CST 1997 Newsgroups: news.software.nntp