From owner-freebsd-hackers Tue Aug 27 00:26:08 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA21083 for hackers-outgoing; Tue, 27 Aug 1996 00:26:08 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA21076 for ; Tue, 27 Aug 1996 00:26:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id AAA16651; Tue, 27 Aug 1996 00:25:21 -0700 (PDT) Message-Id: <199608270725.AAA16651@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: matthew@scruz.net (Matthew Kaufman) cc: hackers@freebsd.org, matthew@nic.scruz.net Subject: Re: questions In-reply-to: Your message of "Tue, 27 Aug 1996 00:07:48 PDT." <199608270707.AAA20266@scruz.net> From: David Greenman Reply-To: dg@root.com Date: Tue, 27 Aug 1996 00:25:20 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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