From owner-freebsd-hackers Mon Apr 1 18:02:03 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA23439 for hackers-outgoing; Mon, 1 Apr 1996 18:02:03 -0800 (PST) Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA23429 for ; Mon, 1 Apr 1996 18:02:00 -0800 (PST) Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Tue, 2 Apr 96 04:01 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for freebsd-hackers@freebsd.org id ; Tue, 2 Apr 96 04:01 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA05029; Mon, 1 Apr 96 23:21:27 +0200 Date: Mon, 1 Apr 96 23:21:27 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9604012121.AA05029@wavehh.hanse.de> To: angio@shell.ARos.NET Cc: freebsd-hackers@freebsd.org Subject: Re: "active" (INND14unoff4,shared) gets corrupted Newsgroups: hanse-ml.freebsd.hackers References: <199603311506.BAA21645@asstdc.scgt.oz.au> <199603312053.NAA28795@shell.aros.net> Reply-To: cracauer@wavehh.hanse.de Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 - BSD User Group Hamburg BSD, Lisp and other programming info http://www.bik-gmbh.de/~cracauer