From owner-freebsd-threads@FreeBSD.ORG Wed Apr 14 23:12:45 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 8BBA216A4CE for ; Wed, 14 Apr 2004 23:12:45 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9B0743D5A for ; Wed, 14 Apr 2004 23:12:44 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc13) with ESMTP id <20040415061242016003h30pe>; Thu, 15 Apr 2004 06:12:44 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA42160; Wed, 14 Apr 2004 23:12:41 -0700 (PDT) Date: Wed, 14 Apr 2004 23:12:39 -0700 (PDT) From: Julian Elischer To: Ganbold In-Reply-To: <6.0.3.0.2.20040415145916.02ae6708@202.179.0.80> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Alexander Leidinger cc: threads@freebsd.org cc: kenm@icarz.com cc: mysql@lists.mysql.com Subject: Re: FBSD 5.2.CURRENT-p4 and mysqld problems 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, 15 Apr 2004 06:12:45 -0000 firstly, how many threads did it create? how much memory did it use? what does ps -p[pid] -H show? is it using system scope or process scope threads? Other people have found that there are tricks to compiling it (something to do with compiler options) and tuning considerations.. On Thu, 15 Apr 2004, Ganbold wrote: > Hi, > > I compiled mysql-4.0.18 from ports on CURRENT machine with BUILD_STATIC=yes > option with libpthread. > After installation everything seemed OK. However after few minutes it hang > again. > It seems mysql with libpthread is even more unstable than using linuxthreads. > > Ganbold > > > At 09:30 PM 14.04.2004, you wrote: > >On Wed, 14 Apr 2004 20:44:30 +0900 > >Ganbold wrote: > > > > > Can you give me some hints and tricks to compile mysql with libpthread? > > > What compiler options should I use? > > > >None, it's the default threading lib with a recent -current. You just > >have to recompile (every application which may use threads, since mixing > >the thread libs is not possible, alternatively you can have a look at > >the man-page of libmap.conf). > > > >Bye, > >Alexander. > > > >-- > > I'm available to get hired. > > > >http://www.Leidinger.net Alexander @ Leidinger.net > > GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 > >