From owner-freebsd-threads@FreeBSD.ORG Thu Apr 15 01:26:34 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 C54DD16A4CE for ; Thu, 15 Apr 2004 01:26:34 -0700 (PDT) Received: from rms04.rommon.net (rms04.rommon.net [212.54.2.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 178A143D54 for ; Thu, 15 Apr 2004 01:26:34 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h91.vuokselantie10.fi [193.64.42.145]) by rms04.rommon.net (8.12.10/8.12.9) with ESMTP id i3F8Pxmo046086; Thu, 15 Apr 2004 11:25:59 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <407E4712.1070804@he.iki.fi> Date: Thu, 15 Apr 2004 11:25:54 +0300 From: Petri Helenius 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: 8bit cc: threads@freebsd.org cc: Alexander@Leidinger.net cc: kenm@icarz.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 08:26:34 -0000 Julian Elischer wrote: > > > > >hmmm but you don't see the 'hang' that he sees.. > > > The application runs fine, even after I tell it to shut down, it keeps going and going and going .... :-) Obviously SIGKILL takes care of it, but shutting db engines with SIGKILL might lower confidence in production systems. >if you upgrade, be aware that it is now libpthread not libkse.... > > > When I upgrade, how do I best approach the problem, if itīs mysql or something in the library associated with delivering signals? I have not patched mysql to use process scope threads so I suppose everything runs system scope. Our in-house applications which also use threads, some quite heavily, get SIGTERM just fine so my suspicion would be something in mysql disagrees with the threads implementation in FreeBSD. Pete