Thread View: news.software.nntp
3 messages
3 total messages
Started by System Administrator
Sun, 06 Apr 1997 00:00
INN PULL feed
Author: System Administrator
Date: Sun, 06 Apr 1997 00:00
Date: Sun, 06 Apr 1997 00:00
20 lines
1310 bytes
1310 bytes
[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ] [ here, so that someone will see and answer it. Please email your ] [ answer to the original author in addition to posting it. ] Has anyone set up INN as a PULL feed? We are required to do this because of a fractional T-1. We downloaded a program called suck, that is supposed to be used in conjunction with INN for PULL feeds. Need to know how the various config files need to be modified and where we need to run suck from (crontab, we guess)? Any help appreciated... Please send answers via email to : pferraro@wna-linknet.com Thanks in advance! Phil Ferraro WorldNet Access
Re: INN PULL feed
Author: jbuchana
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
30 lines
1918 bytes
1918 bytes
George Bonser (grep@oriole.sbay.org) wrote: : Be aware that unless you can dedicate a machine to a news server, INN is : probably not your best option. It is designed to be a resource hog and : is very good at doing what it is designed to do ... run as a stand-alone : news server. It is not a very nice program to run if you have one machine : with many hats, though. If you just want to spool the groups you actually read and are using a spool-aware news reader, you can use pnews to spool the articles. I wrote it when I decided that INN was just too much (good mind you, but way more than I wanted) for my needs. pnews uses suck to retrieve articles. suck must be downloaded separately. pnews is *not* intended for a full feed, it is intended only to handle a few groups. I have reports of it performing well with 100 or so groups, I've never used it with more than twenty-five or so. You can get pnews at: http://www.iquest.net/~jbuchana/computer.html Jim Buchanan c22jrb@dawg.delcoelect.com jbuchana@iquest.net =================== http://www.iquest.net/~jbuchana ====================== "Tyger! Tyger! burning bright In the forests of the night, What immortal hand or eye Dare frame thy fearful symmetry?" -Blake ==================== http://hybiss.delcoelect.com ========================
Re: INN PULL feed
Author: Karl Kleinpaste
Date: Mon, 07 Apr 1997 00:00
Date: Mon, 07 Apr 1997 00:00
73 lines
3054 bytes
3054 bytes
System Administrator <root@wna-linknet.com> writes: > Has anyone set up INN as a PULL feed? We are required to do this > because of a fractional T-1. We downloaded a program called suck, that > is supposed to be used in conjunction with INN for PULL feeds. > Need to know how the various config files need to be modified and > where we need to run suck from (crontab, we guess)? I do a suck feed for my test INN installation here, using 2 nearby servers. I put everything suck-related in /home/news/suck: [1289] [11:46:15] pocari-sweat:~> /bin/ls -lR /home/news/suck/ total 82 drwxr-xr-x 2 news news 1024 Apr 7 11:46 suck -rw-rw-r-- 1 news news 567 Apr 7 11:21 sucknewsrc.old.s1 -rw-rw-r-- 1 news news 611 Apr 7 11:21 sucknewsrc.old.s2 -rw-rw-r-- 1 news news 567 Apr 7 11:42 sucknewsrc.s1 -rw-rw-r-- 1 news news 611 Apr 7 11:41 sucknewsrc.s2 drwxrwxrwx 2 news news 77824 Apr 7 11:42 tmp /home/news/suck/suck: total 129 -rwxr-xr-x 2 news news 124169 Mar 13 15:24 suck -rwxrwxr-x 1 news news 740 Apr 1 15:31 suck.sh /home/news/suck/tmp: total 0 And then the program suck.sh is this script: #!/bin/sh # echo ---------------------------------------------------------------- umask 2 WORK=/home/news/suck SCRIPT=$WORK/suck/suck.sh SUCK=$WORK/suck/suck TMP=$WORK/tmp INNXMIT=/usr/lib/news/bin/innxmit # Server list has matching port list in $*. SERVERLIST="s1 s2" set -- 119 119 cd $WORK # Lock ourselves down with brute force. chmod -x $SCRIPT # Go get a pile of news. for server in $SERVERLIST do port=$1 BATCH=$WORK/In.$server$$ $SUCK $server -N $port -bi $BATCH -dt $TMP -dm $TMP -dd . -p .$server -c if [ -f $BATCH ] ; then $INNXMIT localhost $BATCH rm -f $BATCH ( cd $TMP ; rm -f *.$server ) fi # Next host. shift # port selection, to go with host. done # Unlock. chmod +x $SCRIPT exit 0 Lastly, invoke this script every so often: [1001] [11:47:11] pocari-sweat:~# cat /var/spool/cron/news # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.24756 installed on Wed Jan 15 17:15:21 1997) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 01,21,41 * * * * /home/news/suck/suck/suck.sh >> /home/news/suck/tmp/.log 2>&1 04 05 * * * /usr/lib/news/bin/news.daily expireover delayrm
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