πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81184

Re: Understanding OVDB

#81184
From: Ray Banana
Date: Mon, 01 Jun 2009 09:16
43 lines
2963 bytes
Thus spake Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid>
 
>> on my server inndf -n returns
>> 21315783 overview records stored
>> whereas
>> makehistory -O -x -S > somefile
>> will only write 18573506 overview records to the output file.
>> Any idea how this discrepancy can be accounted for? Could those be
>> expired overview records (I'm using "nocompact 1")?
> Maybe removed newsgroups?
> Their articles eventually disappear from the history file but
> the overview data remains...

inndf -n shouldn't include removed newsgroups, as it reads the active
file and only queries the groups that exist in active:


    /* For the count, we have to troll through the active file and query the
       overview backend for each group. */
    if (ovcount) {
        active = concatpath(innconf->pathdb, INN_PATH_ACTIVE);
        qp = QIOopen(active);
        if (qp == NULL)
            sysdie("can't open %s", active);

        total = 0;
        group = QIOread(qp);
        while (group != NULL) {
            p = strchr(group, ' ');
            if (p != NULL)
                *p = '\0';
            if (overview_group(overview, group, &stats))
                total += stats.count;
            group = QIOread(qp);
        }
        QIOclose(qp);
        printf("%lu overview records stored\n", total);
    }


-- 
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Technical Details
Message-ID: <80k53wwbyu.fsf@banana.shacknet.nu>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!feeder.motzarella.org!news.motzarella.org!news.eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mail
References: <80hbz05p5g.fsf@banana.shacknet.nu> <h005jt$52i$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <80k53wwbyu.fsf@banana.shacknet.nu>
Subject: Re: Understanding OVDB
Date: Mon, 01 Jun 2009 11:16:25 +0200
From: Ray Banana <rayban@banana.shacknet.nu>
References: <80hbz05p5g.fsf@banana.shacknet.nu> <h005jt$52i$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!feeder.motzarella.org!news.motzarella.org!news.eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 43
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.eternal-september.org
 U2FsdGVkX195suBGzYjFeNv8/Srq6Ze/Ma6IsXM8DEUZ+oHZHjSqpAxMDp9y0PGyxsNPsKqG9vmVa7MshcuYWWhHeVmt5NpOUbzO0XcuT6AYMfWDHoihQIQ8p4dtdmEN9ygiEegL93o=
X-Complaints-To: abuse@banana.shacknet.nu
X-Auth-Sender: U2FsdGVkX192nRDbe+w+1/UZ9aQk+dXS7lXSQS40iNranbc8nz2ZnA==
Cancel-Lock: sha1:eLCRqcB9kAShLvx7Oc0+H9KcU8U=
User-Agent: Plonkenlights
X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent
 iQCVAwUBSiOcnRFgDSXFGJ/lAQFwDwP9Faid9vQNv37Pi9MNh8vI1jziiPHo/cML
 /9abTY+PTGLabI10zeTOIVET0t0XaiSa87rflcvb1KXiPYjeoCGJTR+wqbgGlRgp
 lmn/eS0lUo/l3QthqcZ+M7xB9AIA9k+e4PW1+fE4y8MAJRdqLNKUD4MgLw0DAXzP
 pVITvGYoY9Y= =imMr
X-Attribution: Ray Banana