From owner-freebsd-questions@FreeBSD.ORG Mon Mar 21 16:47:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 679FD16A4CE for ; Mon, 21 Mar 2005 16:47:10 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1540F43D39 for ; Mon, 21 Mar 2005 16:47:10 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147])j2LGl9AN026841; Mon, 21 Mar 2005 08:47:09 -0800 (PST) Received: from [10.1.1.245] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)j2LGl8VV018531; Mon, 21 Mar 2005 08:47:09 -0800 (PST) In-Reply-To: <138bced705032108386887195b@mail.gmail.com> References: <64455.24.90.34.93.1109507149.squirrel@24.90.34.93> <20050228005104.M96254@reiteration.net> <59175.24.90.34.93.1109565621.squirrel@24.90.34.93> <138bced705032108386887195b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 21 Mar 2005 11:47:07 -0500 To: FreeBSD Questions X-Mailer: Apple Mail (2.619.2) cc: freebsd-questions@freebsd.org Subject: Re: open office freeze X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 16:47:10 -0000 On Mar 21, 2005, at 11:38 AM, FreeBSD Questions wrote: > I too have this problem on my laptop. I was wondering if there is any > trick to killing a run away process like open office. I have tried to > kill -9 it to no avail and killing its parent process only makes it > change its parent process to init. I usually end up restarting but > that is sub optimal. There must be some way to kill a process > regardless of its state. For what it's worth, you might do better to try "kill -HUP" a process first, then "kill -TERM", before resorting to "kill -9" (aka "kill -KILL"). Using less than maximum force gives the process a chance to notice it is supposed to go away and shut down more cleanly. This may help. However, if you do get a process stuck which won't go away when you kill -9 it, consider doing a "ps axl" and see what it's WCHAN is stuck on. (BTW, be sure you can discriminate between a zombie waiting for a parent to reap it's exit status, ie, "STAT" is "Z"...) -- -Chuck