🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59153

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

#59153
From: Thomas
Date: Mon, 10 Jun 2002 15:03
21 lines
1751 bytes
Erik Hensema wrote:

> Is there a way to check the constency of the buffers after a crash and is
> there a way to find out at what position INN is _really_ writing?

It seems INN's configure script thinks that linux does not need msync 
when using mmap.

The man page for msync says that it is needed however.

I've had the same problem. I'll see if I can check that #define 
MMAP_NEEDS_MSYNC 1 in config.h solves this matter.

I also think that the related MMAP_MISSES_WRITES only applies to real 
buggy mmap implementations (before Linux 2.0 maybe) and is not needed, 
but perhaps somebody knows.


Thomas

Technical Details
Message-ID: <3D04BFB6.3020005@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <3D04BFB6.3020005@spam.invalid>
Subject: Re: [INN] CNFS buffer pointers wrong after a crash
Date: Mon, 10 Jun 2002 17:03:18 +0200
From: Thomas <zak@spam.invalid>
References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl>
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!newsfeed.freenet.de!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 20
NNTP-Posting-Host: 24.132.6.5
X-Complaints-To: abuse@chello.com
X-Trace: amstwist00 1023721402 24.132.6.5 (Mon, 10 Jun 2002 17:03:22 MET DST)
NNTP-Posting-Date: Mon, 10 Jun 2002 17:03:22 MET DST