Article View: news.software.nntp
Article #74212Re: readers.conf - Read groups from file
From: John F. Morse
Date: Fri, 08 Sep 2006 17:57
Date: Fri, 08 Sep 2006 17:57
203 lines
8475 bytes
8475 bytes
Jeffrey M. Vinocur wrote: >>I don't know if perl/python would be "strong" enough though. I >>understand it to be powerful for text manipulation, which reminds me of >>COBOL. <yuck> >> >> > >I think you're a little out of touch with scripting languages >these days. They're more than powerful for almost anything >except sheer computational/mathematical tasks, and have excellent >builtin/library support for the sort of operations you'd need >(like looking up usernames in a database, filtering lists of >groups based on certain criteria, etc). > > > >>Wouldn't something like C be more-fitting for such a task? >> >> > >Nope. Complete unsuited for this task. > You are absolutely correct there, Jeff. My wife comments the same about my wardrobe. ;-) Actually, I've had little time to learn hardly anything about Perl, Python, and even scripting much in BASH. I do need to sit down and do a lot of reading, and trying out various things. For one, I have never been able to get Debian to "take" a BASH config (.bash_profile) to add the path for the news user. I always have to manually enter "PATH=$PATH:/usr/lib/news/bin" whenever I ssh into one of the INN hosts, using either "ssh -l news" or after accessing the client, then switching to the news user by using "su news." It is annoying, knowing it is probably some simple thing I'm overlooking. As for the INN server, it is now up and working fine, with the various readers.conf access users privileges, and with newsfeeds configured to eliminate sending unwanted groups to the two peers. Next will be tuning Cleanfeed, then trying again to understand Suck. Maybe with only around 125 groups to suck, I could just use pullnews to do the work? What is the recommended maximum workload for pullnews? Right now, RumorMill (news76) on the Mac is doing the pulling, then streaming the articles into news7, the newest online INN server. Here's what has happened so far today. It appears like a lot of articles, but my ISP's NNTP provider had trouble Wednesday and Thursday, and was not providing anything (see their status report at http://usenetserver.com ). The hourly totals are usually around 100-200, so I think they were catching up this morning from 0500 until 1000. john@news7:/var/log/news/OLD$ su news Password: sh-2.05b$ PATH=$PATH:/usr/lib/news/bin sh-2.05b$ scanlogs norotate Daily Usenet report from Sep 8 00:00:03 to Sep 8 12:32:42 Log entries by program: Program name Lines %Lines Size %Size inn 24261 96.1% 2.0 MB 95.3% nnrpd 546 2.2% 51.7 KB 2.4% innd 296 1.2% 34.3 KB 1.6% innfeed 152 0.6% 13.9 KB 0.7% TOTAL: 4 25255 100.0% 2.1 MB 100.0% nnrpd timer: Code region Time Pct Invoked Min(ms) Avg(ms) Max(ms) idle 01:50:43.511 96.8% 768 16.750 8650.405 188835.000 newnews 00:00:00.000 0.0% 0 0.000 0.000 0.000 nntpwrite 00:03:29.735 3.1% 320490 0.000 0.654 1.109 readart 00:00:00.216 0.0% 15 0.000 14.400 23.500 TOTAL: 01:54:25 01:54:13.462 99.8% - - - - Control commands to INND: Command Number paused 2 reload 1 TOTAL: 2 3 Incoming Feeds (INN): Server Connects Offered Taken Refused Reject %Accpt Elapsed news76.my.net 36 24261 24212 0 49 99% 00:17:53 localhost 14 0 0 0 0 0% 00:00:00 TOTAL: 2 50 24261 24212 0 49 99% 00:17:53 Incoming Volume (INN): Server AcceptVol DupVol TotalVol %Acc Vol/Art Elapsed news76.my.net 57.6 MB 0.0 KB 57.6 MB 100% 2.4 KB 00:17:53 localhost 0.0 KB 0.0 KB 0.0 KB 0% 0 00:00:00 TOTAL: 2 57.6 MB 0.0 KB 57.6 MB 100% 2.4 KB 00:17:53 Incoming articles: Date Articles %Arts Art/sec Size %Size KB/sec Sep 8 00:00:03 - 00:59:59 171 0.7% 0.05 1.9 MB 3.3% 0.53 Sep 8 01:00:00 - 01:59:59 106 0.4% 0.03 438.1 KB 0.7% 0.12 Sep 8 02:00:00 - 02:59:59 204 0.8% 0.06 1.8 MB 3.1% 0.51 Sep 8 03:00:00 - 03:59:59 146 0.6% 0.04 754.0 KB 1.3% 0.21 Sep 8 04:00:00 - 04:59:59 115 0.5% 0.03 325.7 KB 0.6% 0.09 Sep 8 05:00:00 - 05:59:59 1615 6.7% 0.45 3.5 MB 6.1% 1.00 Sep 8 06:00:00 - 06:59:59 5452 22.5% 1.51 11.6 MB 20.2% 3.31 Sep 8 07:00:00 - 07:59:59 4576 18.9% 1.27 9.8 MB 17.0% 2.78 Sep 8 08:00:00 - 08:59:59 5636 23.3% 1.57 12.1 MB 21.0% 3.43 Sep 8 09:00:00 - 09:59:59 5402 22.3% 1.50 13.2 MB 22.9% 3.75 Sep 8 10:00:00 - 10:59:59 365 1.5% 0.10 1000.3 KB 1.7% 0.28 Sep 8 11:00:00 - 11:59:59 287 1.2% 0.08 829.0 KB 1.4% 0.23 Sep 8 12:00:00 - 12:32:42 137 0.6% 0.07 485.0 KB 0.8% 0.25 TOTAL: 12:32:39 24212 100.0% 0.54 57.6 MB 100.0% 1.31 Sites sending bad articles: Server Total Group Dist Duplic Unapp TooOld Site Line Other news76.my.net 49 0 0 0 2 0 0 0 47 TOTAL: 1 49 0 0 0 2 0 0 0 47 Supposedly-moderated groups with unmoderated postings [Top 20]: Groups Count christnet.christianlife 1 christnet.theology 1 TOTAL: 2 2 INND perl filter [Top 20]: Reason Count Binary in non-binary group 46 Scoring filter (9) 1 TOTAL: 2 47 NNRP readership statistics: <snip> Also note that user news has a sh (sh-2.05b$) prompt instead of BASH. I wonder if that is my problem? :-[ Again, thanks for all of your help -- and patience. -- John
Technical Details
Message-ID:
<naiMg.10118$QM6.6146@bgtnsc05-news.ops.worldnet.att.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<edm8ea$4pj$1@bananasplit.info> <edm8tq$hc9$1@puck.litech.org> <1mzLg.62495$5i3.36179@bgtnsc04-news.ops.worldnet.att.net> <eds4i5$rl$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <naiMg.10118$QM6.6146@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: readers.conf - Read groups from file Date: Fri, 08 Sep 2006 17:57:39 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <edm8ea$4pj$1@bananasplit.info> <edm8tq$hc9$1@puck.litech.org> <1mzLg.62495$5i3.36179@bgtnsc04-news.ops.worldnet.att.net> <eds4i5$rl$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <eds4i5$rl$1@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 203 NNTP-Posting-Host: 4f5a23fcd853ae2e393ca17cfc7b35d4 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1157738259 NNTP-Posting-Date: Fri, 08 Sep 2006 17:57:39 GMT