From owner-freebsd-threads@FreeBSD.ORG Mon Jun 14 18:58:20 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 75AC516A4CE; Mon, 14 Jun 2004 18:58:20 +0000 (GMT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2510543D54; Mon, 14 Jun 2004 18:58:20 +0000 (GMT) (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 i5EIwDqb009277; Mon, 14 Jun 2004 14:58:13 -0400 (EDT) Date: Mon, 14 Jun 2004 14:58:13 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Lasse Laursen In-Reply-To: <01c301c45239$940781f0$6401a8c0@animal> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Possible Threading problem with -CURRENT / MySQL? 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: Mon, 14 Jun 2004 18:58:20 -0000 On Mon, 14 Jun 2004, Lasse Laursen wrote: > Hi, > > I posted this on the 2freebsq-questions" list some time ago but didn't get > any response. Maybe someone on this list can help: > > We are running MySQL 4.0.20 on FreeBSD 5.2-CURRENT. The machine is a dual > Xeon with 4GByte of memory with HTT enabled. > > Some info about the system: > > FreeBSD dbnode3 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 8 14:41:02 CEST > 2004 laursen@dbnode3:/usr/obj/usr/src/sys/DBNODE3 i386 > > the /etc/libmap.conf contains: > > libc_r.so.5 libpthread.so.1 > libc_r.so libpthread.so > > /etc/make.conf contains: > > # -- use.perl generated deltas -- # > # Created: Wed Jun 9 10:18:52 2004 > # Setting to use base perl from ports: > PERL_VER=5.8.4 > PERL_VERSION=5.8.4 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo > > MySQL 4.0.20 was compiled with --without-libwrap (libwrapper seems to be > broken) and WITH_PROC_SCOPE_PTH set to yes. > > WE use the SCHED_ULE, and: > > # Memory options > options MAXDSIZ="(1536*1024*1024)" > options MAXSSIZ="(1024*1024*1024)" > options DFLDSIZ="(1536*1024*1024)" Try using SCHED_4BSD, then try removing all memory options. -- Dan Eischen