🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56825

Re: CNFS corruption

#56825
From: Mark Hittinger
Date: Fri, 22 Feb 2002 23:27
32 lines
2716 bytes
>> Try recompiling with mmap off. 
>Would this lead to a serious performance hit?

That depends.  If the NetBSD you are using has tried to backport the glorious
and supreme FreeBSD merged VM/buffer-cache then it might not really be that 
much of a hit on the "write" side of things.  

You could build a version of innd that did not use mmap for writing (where you
will get your corruption) and then build another version that does use MMAP
for the innxmit/nnrpd images (reading the files with mmap is probably safe 
and does provide a shared file performance benefit).

>> Don't use cnfs partitions > 2g.
>We're using files, not partitions.  Does the advice still hold?

Definetly something to try.  The VM subsystem might have a 32bit/64bit lseek
math bug in its locking code or write clustering code.  We had those (might
still) on the FreeBSD side of things.

>Our first tack might be to try a newer NetBSD.

Good luck!  If that doesn't work retreat to the safety of the 32 bit world and
if that doesn't work retreat to file write mode for innd/expire/expireover.

I respect your decision to use NetBSD and therefore will not urge you to
board the true BSD mother ship. :-)

Later

Mark Hittinger
bugs@pu.net
Technical Details
Message-ID: <TtAd8.170047$Re2.12769882@bin6.nnrp.aus1.giganews.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.earthlink.net!newsfeed.earthlink.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <slrna7df2u.a4s.br@panix2.panix.com> <0000001110.r00tshell@news.radio.cz> <v1Ad8.169610$Re2.12738727@bin6.nnrp.aus1.giganews.com> <slrna7dja6.pm6.br@panix2.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <TtAd8.170047$Re2.12769882@bin6.nnrp.aus1.giganews.com>
Subject: Re: CNFS corruption
Date: Fri, 22 Feb 2002 23:27:47 GMT
From: bugs@pu.net (Mark Hittinger)
References: <slrna7df2u.a4s.br@panix2.panix.com> <0000001110.r00tshell@news.radio.cz> <v1Ad8.169610$Re2.12738727@bin6.nnrp.aus1.giganews.com> <slrna7dja6.pm6.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.earthlink.net!newsfeed.earthlink.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: NN version 6.5.0 CURRENT #127
Lines: 31
NNTP-Posting-Date: Fri, 22 Feb 2002 17:27:47 CST
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-xN7BvjONkNhD6/D639+cY06SCMBFboQkrL+qtda6znPECZMgoCZwCxsMRWkKcE4AcnwaBXGTfz72quF!gGYqonOZ7oO3J+e8MJKg2+hZX+wHINQS1gWSGQPcdgXhcweddJdNJG/REdBxruQd1XbEsi4joQTp!cDlSqDxKzqPqjtCxlEA98g==
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly