🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59164

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

#59164
From: BOUWSMA Beery
Date: Tue, 11 Jun 2002 20:47
35 lines
2788 bytes
Yee haw!!1!
%s wrote on %.3s, %lld Sep 1993

> >> 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.

Somehow, I seem to remember that it might or might not, depending
on OS being abused.  But it also can introduce a new problem --
you'll also be flushing the history database to disk, which can
take a significant amount of time, depending on how well ordered
your random-access database files happen to be...

Note:  My experience is years out of date, and valid for one
particular OS; I vaguely recall reading something about Linux,
and I also seem to remember some work happening in this direction
under FreeBSD, but I never put those things in practice (when one's
machines never crash, one doesn't bother to think about such fluff)


So just ignore me.

Thank You.

Very Much.

Bouwsma BEERY

Technical Details
Message-ID: <please-to-be-defined-by-enduser-okaybye@news.radio.cz>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news.imp.ch!news-zh.switch.ch!news.swissonline.ch!news.radio.cz!news.netscum.dk.POSTED!not-for-pedophiles
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.fsf@windlord.stanford.edu> <3D05A861.3090404@spam.invalid> <ylit4pn5fk.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <please-to-be-defined-by-enduser-okaybye@news.radio.cz>
Subject: Re: [INN] CNFS buffer pointers wrong after a crash
Date: Tue, 11 Jun 2002 20:47:28 +0000
From: BOUWSMA Beery <usenet-pedophile@ipv6.netscum.dyndns.dk>
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.fsf@windlord.stanford.edu> <3D05A861.3090404@spam.invalid> <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news.imp.ch!news-zh.switch.ch!news.swissonline.ch!news.radio.cz!news.netscum.dk.POSTED!not-for-pedophiles
Organization: The Secret msync() Conspiracy (There is no Secret msync() Conspiracy)
X-Pedophile: BARRY B0USWMA IS A PEDOPHILE!!!
X-Newsreader: Telnet 119
X-Meow: *PLONK*
Newsgroups: news.software.nntp
X-Internet-Access-Provided-By: Cabal Modem (All Hail The Secret CABAL)
X-NetScum: Yes
X-One-And-Only-Real-True-Fluffy: What's it to ya, punk?
NNTP-Posting-Host: 80.218.16.180
X-Trace: news.swissonline.ch 1023828448 80.218.16.180 (11 Jun 2002 22:47:28 +0200)
Lines: 34
X-Complaints-To: abuse@swissonline.ch