Article View: news.software.nntp
Article #66780Re: Unable to expire removed groups
From: Quentin Campbell
Date: Mon, 06 Oct 2003 14:12
Date: Mon, 06 Oct 2003 14:12
60 lines
3859 bytes
3859 bytes
On Thu, 2 Oct 2003, Russ Allbery wrote: > Date: Thu, 02 Oct 2003 10:42:59 -0700 > From: Russ Allbery <rra@stanford.edu> > Newsgroups: news.software.nntp > Subject: Re: Unable to expire removed groups > > Quentin Campbell <nqgc@burnmoor.ncl.ac.uk> writes: > > > Am running inn-2.3.2-12 on a RedHat 7.3 box. > > > System is expiring articles of groups in the "active" file OK but is NOT > > expiring removed groups; that is, News groups that have been removed > > with "ctlinnd rmgroup <group>" and are not in "active" file. > > > We use "tradspool" storage and the Overview method is "tradindexed". > > Yup. Known problem with tradspool. It's unfortunately difficult, due to > the structure of the storage API, to get this right. I'm hoping to have > it fixed in INN 2.5; in the meantime, you have to do mildly annoying > things like looking for directories under ~news/spool/articles that don't > correspond to newsgroups in the active file and deleting them. > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why. > Russ Thanks for the reply. I first do a "ctlinnd rmgroup <news group>" to stop new articles being added to each group I want to remove. I have then been using "find" and a script that it execs to clear out article files it finds within the <news group> hierarchies I am removing. The script that is exec'd by "find" does a "ctlinnd cancel" on the Message-ID of each article file. I did this because I assumed that "ctlinnd cancel" would also remove the entry from the history file and the overview database. However it does not remove the history file entry I discovered. If I now do instead rm -r /var/spool/news/articles/<sub-dir-to-remove>. what happens to the history file entries and the overview db entries for the articles that are removed? Are these cleaned up by "expireover" and "expire" in the nightly "news.daily" runs that are done? Quentin -- PHONE: +44 191 222 8209 Computing Service, University of Newcastle FAX: +44 191 222 8765 Newcastle upon Tyne, United Kingdom, NE1 7RU. ------------------------------------------------------------------------- "Any opinions expressed above are mine. The University can get its own."
Technical Details
Message-ID:
<Pine.SOL.4.21.0310061458020.22150-100000@aidan.ncl.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!newsfeed.r-kom.de!newsfeed.arcor-online.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!server5.netnews.ja.net!server6.netnews.ja.net!news.ncl.ac.uk!aidan.ncl.ac.uk!nqgcReferences:
<Pine.SOL.4.21.0310021214550.18250-100000@aidan.ncl.ac.uk> <87oewzmt7g.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <Pine.SOL.4.21.0310061458020.22150-100000@aidan.ncl.ac.uk> Subject: Re: Unable to expire removed groups Date: Mon, 6 Oct 2003 15:12:43 +0100 From: Quentin Campbell <nqgc@burnmoor.ncl.ac.uk> References: <Pine.SOL.4.21.0310021214550.18250-100000@aidan.ncl.ac.uk> <87oewzmt7g.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!newsfeed.r-kom.de!newsfeed.arcor-online.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!server5.netnews.ja.net!server6.netnews.ja.net!news.ncl.ac.uk!aidan.ncl.ac.uk!nqgc Newsgroups: news.software.nntp Organization: University of Newcastle upon Tyne Lines: 60 NNTP-Posting-Host: aidan.ncl.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ucsnew2.ncl.ac.uk 1065449571 5960 128.240.233.1 (6 Oct 2003 14:12:51 GMT) X-Complaints-To: abuse@newcastle.ac.uk NNTP-Posting-Date: Mon, 6 Oct 2003 14:12:51 +0000 (UTC) X-Sender: nqgc@aidan.ncl.ac.uk In-Reply-To: <87oewzmt7g.fsf@windlord.stanford.edu>