Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 96 23:21:27 +0200
From:      cracauer@wavehh.hanse.de (Martin Cracauer)
To:        angio@shell.ARos.NET
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: "active" (INND14unoff4,shared) gets corrupted
Message-ID:  <9604012121.AA05029@wavehh.hanse.de>
References:  <199603311506.BAA21645@asstdc.scgt.oz.au> <199603312053.NAA28795@shell.aros.net>

next in thread | previous in thread | raw e-mail | index | archive | help
angio@shell.ARos.NET (Dave Andersen) wrote:

>Baffling -- I use both sharedactive and MMAP and get perfect performance 
>out of both, especially sharedactive.  We're using unoff2 with 
>sharedactive, and the memory usage is *heavenly*, and the readers are 
>100% reliable.

I've been told that the problem is that corruption occurs when two
process try to write a file at the same time, one updating it in
preexisting space and one appending to the file, extending it's size. 

That makes it possible that mmap'ed INN fails for low-load sites (when
more than one client may send articles) and to work on heavyly-loaded
servers (when only one client at a time sfeeds news to the server and
the rest is "consumer").

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@wavehh.hanse.de>  -  BSD User Group Hamburg
BSD, Lisp and other programming info http://www.bik-gmbh.de/~cracauer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9604012121.AA05029>