From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 08:13:50 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 7DA4516A421 for ; Fri, 17 Aug 2007 08:13:50 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id CF67413C4A8 for ; Fri, 17 Aug 2007 08:13:49 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id l7H804N2063247; Fri, 17 Aug 2007 16:00:04 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id l7H804TS063245; Fri, 17 Aug 2007 16:00:04 +0800 (KRAST) (envelope-from eugen) Date: Fri, 17 Aug 2007 16:00:04 +0800 From: Eugene Grosbein To: peceka Message-ID: <20070817080004.GA62845@svzserv.kemerovo.su> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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:13:50 -0000 On Fri, Aug 17, 2007 at 08:47:01AM +0200, peceka wrote: > 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? It does if it become 'trying to exit'. It may have a serial device open and bugs in the driver may prevent process from closing device in timely manner. Try switching to uart(4) driver from sio(4) if this is your case. Eugene Grosbein