From owner-freebsd-threads@FreeBSD.ORG Sun Jul 3 00:47:37 2005 Return-Path: X-Original-To: freebsd-threads@freebsd.org 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 108AC16A42F; Sun, 3 Jul 2005 00:47:37 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9D043DC6; Sun, 3 Jul 2005 00:29:56 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 4FD5D65497; Sat, 2 Jul 2005 17:29:06 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id BA7EF5CA19 for ; Sat, 6 Nov 2004 05:16:08 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 18C1755D40; Sat, 6 Nov 2004 13:15:04 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id D563816A4FA; Sat, 6 Nov 2004 13:14:57 +0000 (GMT) Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB7ED16A4D1; Fri, 5 Nov 2004 16:40:29 +0000 (GMT) Received: from hellmouth7.gatech.edu (hellmouth7.gatech.edu [130.207.165.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B1C643D2D; Fri, 5 Nov 2004 16:40:18 +0000 (GMT) (envelope-from gte990t@mail.gatech.edu) Received: from hellmouth7.gatech.edu (localhost [127.0.0.1]) by hellmouth7.gatech.edu (Postfix) with SMTP id A4C50226F; Fri, 5 Nov 2004 11:40:17 -0500 (EST) (envelope-from gte990t@mail.gatech.edu) Received: from mailprx2.gatech.edu (mailprx2.prism.gatech.edu [130.207.171.21]) by hellmouth7.gatech.edu (Postfix) with ESMTP id 8EDD02123; Fri, 5 Nov 2004 11:40:17 -0500 (EST) (envelope-from gte990t@mail.gatech.edu) Received: from [192.168.0.3] (r58h96.res.gatech.edu [128.61.58.96]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=gte990t, sender=n/a) by mailprx2.gatech.edu (Postfix) with ESMTP id 448B23A612; Fri, 5 Nov 2004 11:40:15 -0500 (EST) (envelope-from gte990t@mail.gatech.edu) From: Jason Harmening To: Alex Dupre , Boris Kovalenko , Michael Nottebrock User-Agent: KMail/1.7 References: <200411020143.34251.gte990t@mail.gatech.edu> <418792ED.8010700@alexdupre.com> In-Reply-To: <418792ED.8010700@alexdupre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411051159.32077.gte990t@mail.gatech.edu> X-Mailman-Approved-At: Sat, 06 Nov 2004 13:14:54 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.0 X-Spam-Level: Cc: freebsd-current@freebsd.org, freebsd-threads@freebsd.org Subject: Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state X-BeenThere: freebsd-threads@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 00:47:37 -0000 X-Original-Date: Fri, 5 Nov 2004 11:59:31 -0500 X-List-Received-Date: Sun, 03 Jul 2005 00:47:37 -0000 The following patch, sent to me from David Xu by way of Marc Ramirez, seems to fix the "unkillable process" problem: Index: kern_thread.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_thread.c,v retrieving revision 1.205 diff -u -r1.205 kern_thread.c --- kern_thread.c 4 Nov 2004 22:13:16 -0000 1.205 +++ kern_thread.c 5 Nov 2004 04:23:24 -0000 @@ -832,11 +832,10 @@ continue; /* * maybe other inhibitted states too? - * XXXKSE Is it totally safe to - * suspend a non-interruptable thread? */ - if (td2->td_inhibitors & - (TDI_SLEEPING | TDI_SWAPPED)) + if ((td2->td_flags & TDF_SINTR) && + (td2->td_inhibitors & + (TDI_SLEEPING | TDI_SWAPPED))) thread_suspend_one(td2); break; } On Tuesday 02 November 2004 09:00, you wrote: > Jason Harmening wrote: > > I just upgraded to 5.3-RC2, and I'm still running into the problem where > > processes will hang in an unkillable state. In particular, this happens > > for me with OpenOffice under a heavy load. 'ps' reports the state as > > 'TL' and 'top' reports the state as STOP. Neither kill -CONT nor kill > > -KILL will work. > > Same here. With OpenOffice and Java under high load. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"