Article View: news.software.nntp
Article #58238Re: [INN 2.3.2] After a crash, SERVER cant store article: File exists
From: Russ Allbery
Date: Thu, 18 Apr 2002 00:43
Date: Thu, 18 Apr 2002 00:43
38 lines
2987 bytes
2987 bytes
Ben Rosengart <br+nsn@panix.com> writes:
> In article <a8pott$gd5$1@marduk.litech.org>, Jeffrey M. Vinocur wrote:
>> That's what you have to do, yeah. Unfortunately makehistory on 2.3.2
>> is slightly buggy. (You'll notice if you have big chunks of your
>> articles that you can't see.)
> Tradindexed only or for all ov methods?
I'm not entirely sure. Most of the problem reports that we've gotten are
for tradindexed.
> Are there any particular circumstances or settings that trigger this bug?
In 2.3.2, it will trigger in a lot of circumstances involving crossposted
articles. That bug has been fixed in STABLE, but I'm still not convinced
everything is working properly in STABLE.
There are a lot of bugs in tradindexed that I discovered when I rewrote
it. For example, in the 2.3.2 code, deleted group entries in group.index
aren't added to the free list, so the file just keeps growing without
bound. Writes to overview are never synced, so after a crash it's pretty
common to lose a bunch of data for articles that have already been written
out to disk, meaning that the server will then throttle as it starts
assigning duplicate article numbers to new incoming messages (because
renumber is done based on the overview). These are all fixed in my
rewrite, which is in CURRENT but not activated yet. (The new code just
msyncs always, after every write. If that ends up being too slow, I'll
look at it again, but in general the problem with INN is waiting for the
disk access, not the fact that the disk access occurs, and msync will
normally do the write in the background and return immediately.)
--
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.
Technical Details
Message-ID:
<ylu1q925v8.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<4b2376ee9cvincent+news@vinc17.org> <20020407152202$3d1d@vinc17.org> <a8pott$gd5$1@marduk.litech.org> <slrnabrrcd.os2.br@panix2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <ylu1q925v8.fsf@windlord.stanford.edu> Subject: Re: [INN 2.3.2] After a crash, SERVER cant store article: File exists Date: Wed, 17 Apr 2002 17:43:55 -0700 From: Russ Allbery <rra@stanford.edu> References: <4b2376ee9cvincent+news@vinc17.org> <20020407152202$3d1d@vinc17.org> <a8pott$gd5$1@marduk.litech.org> <slrnabrrcd.os2.br@panix2.panix.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 37 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1019090634 17665 171.64.13.23 (18 Apr 2002 00:43:54 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6) Cancel-Lock: sha1:ur2rxQT/1X6e61AbKL9jlLmId54=