From owner-freebsd-current@FreeBSD.ORG Wed Apr 26 13:13:35 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 735F216A403 for ; Wed, 26 Apr 2006 13:13:35 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2721543D49 for ; Wed, 26 Apr 2006 13:13:30 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 22B2684418 for ; Wed, 26 Apr 2006 15:13:29 +0200 (CEST) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19946-04-2 for ; Wed, 26 Apr 2006 15:13:23 +0200 (CEST) Received: from [IPv6:::1] (unknown [192.168.2.3]) by people.fsn.hu (Postfix) with ESMTP id 89C8584408 for ; Wed, 26 Apr 2006 15:13:23 +0200 (CEST) Message-ID: <444F71F3.6030901@fsn.hu> Date: Wed, 26 Apr 2006 15:13:23 +0200 From: Attila Nagy User-Agent: Thunderbird 1.5 (X11/20060407) MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Cc: Subject: malloc problems with MySQL? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 13:13:35 -0000 Hello, I have an SMP i386 machine with 2G RAM on which I would like to test MySQL. The OS is CURRENT as of today. The problem is that with the exact same configuration as with 6-STABLE, MySQL cannot allocate more than about 400-500MB of memory: mysqld: (malloc) Error in malloc(838877200): out of memory mysqld got signal 6; Limits seems to be OK: datasize 2097152 kB I have kern.maxdsiz=2G in loader.conf. MySQL gets errno 12 (ENOMEM) when trying to allocate that amount of RAM. What else is needed to make it work with the new malloc implementation? I can malloc the same amount of memory from a one liner program... Thanks, -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/