From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 8 06:44:19 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2671516A4CE for ; Thu, 8 Apr 2004 06:44:19 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BE5843D39 for ; Thu, 8 Apr 2004 06:44:18 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.9p2/8.12.8) with ESMTP id i38DiDrB051727; Thu, 8 Apr 2004 15:44:13 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i38DiASU051724; Thu, 8 Apr 2004 15:44:12 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Thu, 8 Apr 2004 15:44:10 +0200 (CEST) From: Konrad Heuer To: Andrew MacIntyre , andyf@speednet.com.au In-Reply-To: <20040407084344.V2503@bullseye.apana.org.au> Message-ID: <20040408154001.D30924@gwdu60.gwdg.de> References: <20040406152018.G30924@gwdu60.gwdg.de> <20040407084344.V2503@bullseye.apana.org.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Critical mmap failure? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 13:44:19 -0000 On Wed, 7 Apr 2004, Andrew MacIntyre wrote: > On Tue, 6 Apr 2004, Konrad Heuer wrote: > > > * The machines in question are all DELL PowerEdge 2650, three with > > RAID controllers, one without. The main difference in hardware is > > that the system on wich the error occurs has 4 GB of memory, the > > others 2 GB. There are no significant differences in the kernel > > configuration files except driver entries for RAID or not. > > I think you are running into issues associated with the kernel autosizing > various data structures and running low on VM address space. > > If you can, try reducing the problematic machine to 2GB of memory and see > whether the problems persist. If they don't, then it is this issue and > you're going to have to fiddle with the kernel config. > > I've seen posts in freebsd-stable about trying to tune i386 systems with > 4GB of memory - you should search the list archives. Thank you both for your similar answers. I learned a lot by studying the mailing list archives and experimenting. After a lot of trials, I found the solution: On the 4 GB machine, I compiled the kernel with MAXDSIZ="(2048*1024*1024)" to achieve a max data segment size of 2 GB. This seems to cause the problems, maybe by a signed int overflow? Reducing MAXDSIZ helps. Best regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany