🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24413

Re: actived

#24413
From: Phil Crown
Date: Tue, 16 Dec 1997 00:00
56 lines
2436 bytes
>>>>> "MGF" == Marc G Fournier <marc@acadiau.ca> writes:

MGF> In article <6768ko$eor$1@synthemesc.insync.net>,
MGF> 	Andrew <aos@insync.net> writes:
>> Keith <keith@iswest.com> wrote:

>>> Once last unrelated question.. Is there a better way to clear the .overview
>>> in control/cancel? I am removing articles every 10 minutes and
>>> /dev/null'ing the .overview file but I am wondering if there is a better
>>> way to do this?
>> 
>> You shouldn't be feeding control to overchan, period.  Add a !control* to
>> your overchan newsfeeds line.

MGF> 	As has been mentioned sooooooo many times here, that has no effect at
MGF> this point in time.  Postings to control are cross-posted to the relevant
MGF> newsgroups, so putting in !control* or even @control will have no effect...

I'm not sure of the official name of this patch (nov-cancel.diff?),
but it seems work very well, it reduced our overview partition usage
by about 60 percent and overchan hasn't overflowed once since applying
this patch.

I didn't write this patch, someone posted it here awhile back.

% rcsdiff -u -r1.1 overchan.c
===================================================================
RCS file: RCS/overchan.c,v
retrieving revision 1.1
diff -u -r1.1 overchan.c
--- 1.1 1997/07/30 08:24:13
+++ overchan.c  1997/08/12 03:51:01
@@ -1,4 +1,4 @@
-/*  $Revision: 1.1 $
+/*  $Revision: 1.3 $
 **
 **  Parse input to add to news overview database.
 */
@@ -169,6 +169,11 @@
                continue;
            }
            break;
+       }
+
+       /* skip lines beginning with "control/cancel" */
+       if (strncmp(p, "control/cancel", 14) == 0) {
+           continue;
        }

        /* If doing mkov output, process that line and continue. */

-- 
Phil Crown  pcrown@ispnews.com  http://ispnews.com

Technical Details
Message-ID: <k9d5f1l3.fsf@airmail.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
References: <01bd09f0$e9f83200$5080b2cf@i.am.not.a.hick.com> <6768ko$eor$1@synthemesc.insync.net> <3496abd9.0@131.162.2.91>

Show Full Headers
Complete Article Headers
Message-ID: <k9d5f1l3.fsf@airmail.net>
Subject: Re: actived
Date: Tue, 16 Dec 1997 00:00:00 +0000
From: Phil Crown <pcrown@ispnews.com>
References: <01bd09f0$e9f83200$5080b2cf@i.am.not.a.hick.com> <6768ko$eor$1@synthemesc.insync.net> <3496abd9.0@131.162.2.91>
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: 298804070
Organization: ISPNews http://ispnews.com
Newsgroups: news.software.nntp