From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?=22F=2E_Fern=E1ndez=22?= Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Can't kill java process Date: Mon, 24 Nov 2003 19:11:25 +0000 Organization: MoreData - Sistemas de =?ISO-8859-1?Q?Informa=E7=E3o=2C_L?= =?ISO-8859-1?Q?da=2E?= Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3FC257DD.4080506@moredata.pt> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069701214 1236 80.91.224.253 (24 Nov 2003 19:13:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 19:13:34 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 24 20:13:31 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AOM9L-0007mB-00 for ; Mon, 24 Nov 2003 20:13:31 +0100 Original-Received: (qmail 27376 invoked by uid 5); 24 Nov 2003 19:13:21 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27361 invoked by uid 49493); 24 Nov 2003 19:13:21 -0000 Original-Received: from ferdez@moredata.pt by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-3.0/5.0):. Processed in 18.007749 secs); 24 Nov 2003 19:13:21 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 24 Nov 2003 19:13:03 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HOV00J3UEPOYU@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Nov 2003 14:13:02 -0500 (EST) Original-Received: from zeta.iapmei.pt ([212.55.130.62]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HOV00JNJEPM4L@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Nov 2003 14:12:59 -0500 (EST) Original-Received: from localhost.localdomain ([127.0.0.1] helo=moredata.pt ident=root) by zeta.iapmei.pt with esmtp (Exim 3.12 #1 (Debian)) id 1AON1B-0008Ni-00 for ; Mon, 24 Nov 2003 20:09:09 +0000 Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 Xref: main.gmane.org gmane.os.tru64.managers:5898 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5898 I received two suggestions to this problem, but none of them simple. :-( #1 from Rich Copeland: > Use fuser and see what it has locks into ... there is something locking here, the only reason I have ever seen a process not die is generally because of a locking issue. #2 from John Lanier > Hello, > > Once this process gets in this state and kill -9/-HUP doesn't work, > either a reboot or the following procedure are pretty much your only options > (NOTE: use this procedure with caution, as killing PIDs that are multi-threaded > can have strange, undesirable affects on the system involved): > > PURPOSE : > > If 'kill pid', 'kill -15 pid' or 'kill -9 pid' don't > get rid of a defunct process, you can use the kdbx utility > to stop the process. > > The process may be waiting for a signal before it ends. > Take care in making sure you know which process needs to > be killed. > > You can use kdbx to stop it. > > Be very careful that there are no typographical errors > while in kdbx, and that you have the correct pid. > > > # ps aux > Find the 'pid' of the process you want killed. > > # kdbx -k /vmunix > dbx version 3.11.10 > Type 'help' for help. > > stopped at [thread_block:2097 ,0xfffffc00002a86c0] > Source not available > warning: Files compiled -g3: parameter values probably wrong > > (kdbx) set $pid= > for example: (kdbx) set $pid=777 > > (kdbx) p (*(struct super_task *)thread.task) .proc.p_stat > 3 > (kdbx) a (*(struct super_task *)thread.task) .proc.p_stat=0 > 0 > (kdbx) u > > > ********** Thanks! Fernando