From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 08:36:54 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E88C116A561 for ; Fri, 17 Aug 2007 08:36:53 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id D311C13C48E for ; Fri, 17 Aug 2007 08:36:47 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id A36AD1B10EE8; Fri, 17 Aug 2007 10:20:24 +0200 (CEST) Received: from hater.cmotd.com (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id A0CB31B10ED2; Fri, 17 Aug 2007 10:20:24 +0200 (CEST) Message-ID: <46C55A48.8050902@moneybookers.com> Date: Fri, 17 Aug 2007 11:20:24 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.4pre (X11/20070711) MIME-Version: 1.0 To: peceka References: In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-stable@freebsd.org Subject: Re: unable to kill process, problem with FBSD6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 08:36:54 -0000 Hello, peceka wrote: > Hi. > > I've got strange problem. I've setup pound on my FBSD6 box and > sometimes it (pound) stops. Normally it should exit but it doesn't - > it hangs. > > # ps auwx | grep pound > pound 46868 0.0 1.0 55428 21932 ?? SE 1:58PM 0:31.34 > /usr/local/sbin/pound -f /usr/local/etc/pound.cfg > > S: Marks a process that is sleeping for less than about 20 seconds. > E: The process is trying to exit. > > It dies after 30 minutes. > > This problem doesn't exists on Linux. > > This behaviour is very irregular. > Why FBSD doesn't kill this process? > > Regards, > p. > I saw this before, and I think it's a thread related problem :) Unfortunately it happens only in production and busy environment (?) and it is very hard to test/debug. But putting in /etc/libmap.conf : [/usr/local/sbin/pound] libpthread.so.2 libthr.so.2 libpthread.so libthr.so may help. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Best Wishes, Stefan Lambrev ICQ# 24134177