Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 01:50:04 +0800
From:      Clive Lin <clive@tongi.org>
To:        Irvine Short <irvine@sanbi.ac.za>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Large memory issues on 4-STABLE
Message-ID:  <20030915175004.GA39490@fatpipi.cirx.org>
In-Reply-To: <20030913123257.C51554@fling.sanbi.ac.za>
References:  <20030913092804.S46465@fling.sanbi.ac.za> <20030913123257.C51554@fling.sanbi.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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