Date: Mon, 21 Mar 2005 11:47:07 -0500 From: Charles Swiger <cswiger@mac.com> To: FreeBSD Questions <freebsd.questions@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: open office freeze Message-ID: <e765b0f8445aa43b67cf28ff0e4cfdd8@mac.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e765b0f8445aa43b67cf28ff0e4cfdd8>