*BSD News Article 55153


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!torn!news.bc.net!news.mindlink.net!van-bc!uniserve!usenet
From: tom@uniserve.com (Tom Samplonius)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: INND1.4+MMAP=BROKEN MESS
Date: 16 Nov 1995 06:00:28 GMT
Organization: UNIServe Online
Lines: 23
Distribution: world
Message-ID: <48ek1s$b97@atlas.uniserve.com>
References: <46ldvj$l3c@buffnet2.buffnet.net> <imzqekgzmt.fsf@hidden.cs.uidaho.edu> <472u66$dpo@blackbush.xlink.net> <47f3gf$2gu@atlas.uniserve.com> <47m335$eu3@buffnet2.buffnet.net> <47m8kq$gqq@atlas.uniserve.com> <47qcfu$4r8@buffnet2.buffnet.net> <48095n$es4@atlas.uniserve.com> <489pdd$21u@pilhuhn.pilhuhn.de> <48aebm$fh@ivory.dsu.edu>
NNTP-Posting-Host: pc.sdf.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.6

In article <48aebm$fh@ivory.dsu.edu>, ghelmer@ivory.dsu.edu says...
>
>hwr@pilhuhn.de (Heiko W.Rupp) writes:
>
>>tom@uniserve.com (Tom Samplonius) writes:
>
>>>  Err.. if you look at the code, mmap() is only for updating the active 
file.  Not used for 
>>>history at all.
>
>>*beeeep* Wrong. If you compile innd with -DMMAP then mmap() is also
>>used for the history ...
>
>Hmmm -- maybe that helps explain why I lost my history file in a bad crash
>three weeks ago -- fsck -p couldn't even clean up after the crash.  At any
>rate, I've rebuild my INN with ACT_STYLE set to READ since the crash. 

  Any file being written to during a crash is at risk.  The history database is 
worse since it will likely develop internal inconsistencies that can only be 
fixed with makehistory.

Tom