From owner-freebsd-threads@FreeBSD.ORG Thu Feb 19 12:00:05 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 997D016A4CE for ; Thu, 19 Feb 2004 12:00:05 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4373443D2F for ; Thu, 19 Feb 2004 12:00:05 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i1JJxwSQ024603; Thu, 19 Feb 2004 14:59:58 -0500 (EST) Date: Thu, 19 Feb 2004 14:59:58 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Kris Gale In-Reply-To: <50189.68.3.131.72.1077123041.squirrel@mail.asn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: More on MySQL -- Fatal trap 12 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 20:00:05 -0000 On Wed, 18 Feb 2004, Kris Gale wrote: > > I'm not sure what all the mumbo-jumbo is in your /etc/my.cnf, > > but commenting out this line: > > > > #set-variable = key_buffer=1024M > > This key buffer is shared amongst the threads. This is the value > I have set on an identical machine running -STABLE. I can't even get mysqld to start with a value this large. I patched mysql to use process scope threads. Here is the patch to databases/mysql40-server: http://people.freebsd.org/~deischen/mysql40-server.diffs The port still uses -lc_r even though it detects -lpthread. I haven't fixed that, so be sure to keep using libmap.conf. -- Dan Eischen