From owner-freebsd-threads@FreeBSD.ORG Thu Apr 15 00:36:55 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 D66A616A4CE for ; Thu, 15 Apr 2004 00:36:54 -0700 (PDT) Received: from relay.sparc.spb.su (relay.sparc.spb.su [193.125.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D8BE43D55 for ; Thu, 15 Apr 2004 00:36:54 -0700 (PDT) (envelope-from moreau@myrealbox.com) Received: from mail.sparc.spb.su (unknown [192.168.205.210]) by relay.sparc.spb.su (Postfix) with ESMTP id 6E713AD79; Thu, 15 Apr 2004 11:36:53 +0400 (MSD) Received: from myrealbox.com (den.sparc.spb.su [192.168.205.185]) by mail.sparc.spb.su (8.12.11/8.12.11) with ESMTP id i3F7arPb016317; Thu, 15 Apr 2004 11:36:53 +0400 (MSD) (envelope-from moreau@myrealbox.com) Message-ID: <407E3D55.1020502@myrealbox.com> Date: Thu, 15 Apr 2004 11:44:21 +0400 From: den User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040408, clamav-milter version 0.70g cc: threads@freebsd.org 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 07:36:55 -0000 Julian Elischer wrote: >On Thu, 15 Apr 2004, den wrote: > > > >>I'm sorry that my question is not exactly in essence of problem. >>I compile mysql 4.17 ( static compilation ) on 5.2 from ports. I don't >>choose linuxthreads , so as I think libpthread was used . >>I don't have any problem with mysql on the box. >>But when I do >>ps axH >>I don't see any threads at all. Actually >>ps ax >>and >>ps axH >>almost are not differ. >>Can you tell me why this is happened ? >> >> > >you are using libc_r because libpthreads has only been introduced since >AFTER 5.2 > > > > >>Thanks. >>Denis. >> >>Julian Elischer wrote: >> >> >> >>>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 >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>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" >>> >>> >>> >>> >>> >>> >> >> > > > > > Julian , Ganbold thanks for answers, please tell me - how stable libpthreads at current moment ? Is using of libpthreads preferable then libc_r ( and what qualitative chracteristics ) ? Is libpthreads better then linuxthreads ? Thanks for your answers.