From owner-freebsd-stable Mon May 5 23:33:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA19459 for stable-outgoing; Mon, 5 May 1997 23:33:26 -0700 (PDT) Received: from mercury.uniserve.com (mercury.uniserve.com [204.191.197.248]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA19453 for ; Mon, 5 May 1997 23:33:24 -0700 (PDT) Received: from haven.uniserve.com (shell.uniserve.com [198.53.215.121]) by mercury.uniserve.com with SMTP id XAA01047; Mon, 5 May 1997 23:32:07 -0700 (PDT) Date: Mon, 5 May 1997 23:38:55 -0700 (PDT) From: Tom Samplonius To: "Chad R. Larson" cc: freebsd-stable@FreeBSD.ORG Subject: Re: INN and mmap() In-Reply-To: <9705060107.AA18210@chad.anasazi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 5 May 1997, Chad R. Larson wrote: > We installed a 2.1.7 machine straight from the ftp server, and loaded > the package of INN from there as well. We set it up as our company's > internal and external news server. > > INN regularly complained when trying to install cross-posted articles, > saying the the attempt to make the like failed as the target already > existed. > > The INN FAQ said that error is frequently due to a mis-behaving mmap() > implementation. We rebuilt INN to not use mmap() and the problem indeed > went away. > > I'm left with a couple of questions. > > 1) Shouldn't the port/package for the 2.1.x tree not use mmap(), if > it doesn't behave the way INN expects? There is a mailing list for ports issues. > 2) Is the 2.1 mmap() broken, or is there just a misunderstanding > between the implementation and INN's expectations? Difference of opinion. > 3) Has mmap() been changed in 2.2 or 3.0? If so, are the changes > slated to be rolled into the RELENG_2_1_0 tree? No. Newever versions of INN, have a msync() option that allows mmap() to work properly. Be ware, mmap() may not allows be the speedup it seems. > -crl > -- > Chad R. Larson (CRL22) Brother, can you paradigm? > 602-870-3330 chad@anasazi.com chad@anasaz.UUCP chad@dcfinc.com > Anasazi, Inc. - 7500 North Dreamy Draw Drive, Suite 120, Phoenix, Az 85020 > Tom