From owner-freebsd-threads@FreeBSD.ORG Tue Apr 20 02:53:25 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 EEF9E16A4CE for ; Tue, 20 Apr 2004 02:53:25 -0700 (PDT) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423AF43D31 for ; Tue, 20 Apr 2004 02:53:24 -0700 (PDT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with asmtp (Exim 4.30; FreeBSD) id 1BFrwI-000C8Z-L7; Tue, 20 Apr 2004 17:53:14 +0800 Message-Id: <6.0.3.0.2.20040420185111.02ad3968@202.179.0.80> X-Sender: ganbold@micom.mng.net@202.179.0.80 X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Tue, 20 Apr 2004 18:58:17 +0900 To: Mike Silbersack From: Ganbold In-Reply-To: <20040420062033.S20848@odysseus.silby.com> References: <20040420062033.S20848@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: threads@freebsd.org Subject: Re: MySQL and libpthread 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: Tue, 20 Apr 2004 09:53:26 -0000 Hi, I patched mysql with Daniel Eischen's patch that makes it use scope process threads. Also I'm using SCHED_4BSD scheduler and now mysql behaves much better. Mysql with libpthread runs without any crash since April 16th. I have cvs sources from April 16th and mysql-4.0.18 from ports. Ganbold At 08:23 PM 20.04.2004, you wrote: >I haven't had time to fully track it down yet, but FYI I've found that >MySQL and libpthread don't seem to get along well for me; with sources >from april 12th and mysql 4.1 from ports, mysqld just seems to hang for >long periods of time, and is unkillable. When I libmap it to libthr or >libc_r, all is well. > >The test I was running was simply mysql's included benchmark suite, using >local socket connections to mysql. If one of the libpthread developers >can not reproduce this behavior, I'll try more tests later in the week to >see if I can pin it down more. > >Mike "Silby" Silbersack >_______________________________________________ >freebsd-threads@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-threads >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"