Subject: Re: high-volume INN server on netbsd, mmap(), and expire
To: Perry E. Metzger <perry@piermont.com>
From: Scott Reynolds <scottr@Plexus.COM>
List: current-users
Date: 08/04/1997 07:46:23
On Mon, 4 Aug 1997, Perry E. Metzger wrote:

> mmap() still has the occassional glitch under the current VM
> system. If you are having trouble, yanking it might help. Then again,
> it might not...

Configure INN to avoid using mmap(); while I don't think there is any
problem if the file is accessed using mmap() exclusively, going through
the buffer cache can introduce inconsistencies (i.e. using
read(2)/write(2)).

> Alexis Rosen writes:
> > 2) I have expire built and running, and for the last year or two it has
> > worked fine, cranking through a 300-400MB history file in 10-20 minutes.
> > However, I can't reproduce this binary! I've built expire from 1.5, 1.5.1,
> > and even 1.4u4, but no matter what I try, I get a version that runs just
> > fine, but ~150-200 *times* slower than the expire I'm using.

Hmm.  I'm really shooting in the dark here, but did you verify that the
`delayrm' option is being specified for the news.daily script?

--scott