Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 1997 23:38:55 -0700 (PDT)
From:      Tom Samplonius <tom@uniserve.com>
To:        "Chad R. Larson" <chad@anasazi.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: INN and mmap()
Message-ID:  <Pine.NEB.3.95.970505233554.4866A-100000@haven.uniserve.com>
In-Reply-To: <9705060107.AA18210@chad.anasazi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970505233554.4866A-100000>