From owner-freebsd-stable@FreeBSD.ORG Mon Sep 15 10:50:12 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C20DB16A4BF for ; Mon, 15 Sep 2003 10:50:12 -0700 (PDT) Received: from fatpipi.cirx.org (fatpipi.cirx.org [211.23.144.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF7D643FEC for ; Mon, 15 Sep 2003 10:50:10 -0700 (PDT) (envelope-from clive@tongi.org) Received: from fatpipi.cirx.org (nullmail@internal-fxp.home [192.168.1.254]) by fatpipi.cirx.org (8.12.8p1/8.12.8) with SMTP id h8FHo4Mu039722; Tue, 16 Sep 2003 01:50:06 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 39720 invoked by uid 1000); Mon, 15 Sep 2003 17:50:04 -0000 Date: Tue, 16 Sep 2003 01:50:04 +0800 From: Clive Lin To: Irvine Short Message-ID: <20030915175004.GA39490@fatpipi.cirx.org> References: <20030913092804.S46465@fling.sanbi.ac.za> <20030913123257.C51554@fling.sanbi.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030913123257.C51554@fling.sanbi.ac.za> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.4i cc: freebsd-stable@freebsd.org Subject: Re: Large memory issues on 4-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 17:50:12 -0000 On Sat, Sep 13, 2003 at 12:39:40PM +0200, Irvine Short wrote: > Given what David says though, why do I have a problem with MySQL getting > thread errors with MAXDSIZ 2048 or greater? The larger you set MAXDSIZ, the less VM is available for mmap(). Quoted from http://www.freebsd.org/cgi/mid.cgi?id=200212242312.gBONCjqD044717@apollo.backplane.com yup, pthread_create in FreeBSD is implemented by mmap(). No, I do not know how to fix it. Leave the MAXDSIZ untouched is the best strategy. Clive