Article View: news.software.nntp
Article #80458Re: INN, traditional overview method, and zero length overview files.
From: D. Stussy
Date: Fri, 27 Mar 2009 02:11
Date: Fri, 27 Mar 2009 02:11
30 lines
2395 bytes
2395 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:87myb7dbvw.fsf@windlord.stanford.edu... > "D. Stussy" <spam@bde-arc.ampr.org> writes: > > Does INN really need to make zero length files for the traditional > > overview format? If the groups are actually empty, why does it need > > overview data? > > > > Although some systems may prefer to reserve the inodes (or directory > > entries), is this actually necessary? I'd like to see an option where > > these are NOT created when INN starts and expireover actually removes > > zero-length files (and empty directories). Is this feasable? > > There's no basic technical reason why that couldn't be done, but it > simplified the code to not have to worry about that case, which is why it > currently works the way it does. That I understand, but on the flip side, I also don't like resource hogs.... ;-) All we need is something like (pseudocode): if (_OPTION_ and (size(file) == 0) unlink(filename); in a few key spots during the expireover process. I just counted my unmoderated empty (as in zero article count highmark) and found 88,424 of them (142249 total groups)! That will free over 170,000 inodes.
Technical Details
Message-ID:
<gqhcke$cno$1@aux.snarked.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!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mailReferences:
<gqh1ra$c58$1@aux.snarked.org> <87myb7dbvw.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <gqhcke$cno$1@aux.snarked.org> Subject: Re: INN, traditional overview method, and zero length overview files. Date: Thu, 26 Mar 2009 19:11:19 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gqh1ra$c58$1@aux.snarked.org> <87myb7dbvw.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!news-in-02.newsfeed.easynews.com!easynews.com!easynews!news.he.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 30 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: aux.snarked.org 1238119886 13048 71.106.211.188 (27 Mar 2009 02:11:26 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Fri, 27 Mar 2009 02:11:26 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478