Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 1996 00:25:20 -0700
From:      David Greenman <dg@root.com>
To:        matthew@scruz.net (Matthew Kaufman)
Cc:        hackers@freebsd.org, matthew@nic.scruz.net
Subject:   Re: questions 
Message-ID:  <199608270725.AAA16651@root.com>
In-Reply-To: Your message of "Tue, 27 Aug 1996 00:07:48 PDT." <199608270707.AAA20266@scruz.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>1. I have an application (one which, if I finish it, will be given away to
>  the net community at large) which to provide a huge performance increase
>  over its former incarnations uses mmap heavily. It doesn't do any other
>  I/O on the mmap'ed files, but it does do a lot of mmap. The INN lists
>  indicate that FreeBSD and mmap don't get along, but since I've been
>  switching the company over to FreeBSD systems (we'd started with NetBSD)
>  I'd rather just use another one of those to develop and tune this on.
>  Are these rumors true? Was there a fix?

   There aren't any specifically know problems with using mmaped files in
2.1.5. We think the problem with INN has to deal with extending a mapped
file, and this might be an INN bug in dealing with mmap correctly.

>2. I have a FreeBSD 2.1.0 system running Apache 1.0 (with local enhancements)
>  The system runs out of mb_map every week or so, requiring a reboot. I've 
>  gotten it to last longer by cranking up the map size in the kernel, but
>  it still dies eventually. Is there a leak somewhere?

   Probably not. You need to be more specific about how much larger you're
making the map (for a busy WWW server, set NMBCLUSTERS=4000).

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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