🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59163

Re: [INN] CNFS buffer pointers wrong after a crash

#59163
From: Russ Allbery
Date: Tue, 11 Jun 2002 16:30
31 lines
2336 bytes
Thomas <zak@spam.invalid> writes:
> Russ Allbery wrote:

>> CNFS needs to occasionally unconditionally msync.  I fixed this for
>> tradindexed in the pending rewrite; the same thing should happen for
>> CNFS (and that code too needs a rewrite; much of it right now is nearly
>> unmaintainable).

> Would running sync from cron be a somewhat valid solution for this?

Hm.  Yeah, it might.  It depends on whether sync flushes the buffer cache
to disk or not.  If it does, this may very well solve the problem.

> I had been thinking about changing the msync entry in config.h, but as
> you indicate there are more areas where msync is required I don't think
> that would be sufficient.

I think changing msync in config.h is sufficient; I'm just not sure.

> Will the rewrite you are referring to be in the CURRENT-snapshots?

Yup, but it's not enabled by default yet because it's not yet been tested.
I'll try to send out mail about the current status of it to inn-workers
soon.

-- 
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: <ylit4pn5fk.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-mail
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.fsf@windlord.stanford.edu> <3D05A861.3090404@spam.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <ylit4pn5fk.fsf@windlord.stanford.edu>
Subject: Re: [INN] CNFS buffer pointers wrong after a crash
Date: Tue, 11 Jun 2002 09:30:55 -0700
From: Russ Allbery <rra@stanford.edu>
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.fsf@windlord.stanford.edu> <3D05A861.3090404@spam.invalid>
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: 30
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1023813055 17215 171.64.13.23 (11 Jun 2002 16:30:55 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:sIh1tinl23eku9fbUi8a/g/1Djk=