public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Christopher Friesen" <cfriesen@nortelnetworks.com>
To: James Sutherland <jas88@cam.ac.uk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: unkillable process in R state?
Date: Thu, 11 Oct 2001 15:18:56 -0400	[thread overview]
Message-ID: <3BC5F0A0.56F644B7@nortelnetworks.com> (raw)
In-Reply-To: <Pine.SOL.4.33.0110111918330.24868-100000@orange.csi.cam.ac.uk>

James Sutherland wrote:
> 
> On Thu, 11 Oct 2001, Ralf Baechle wrote:
> 
> > On Thu, Oct 11, 2001 at 12:48:22PM -0400, Christopher Friesen wrote:
> >
> > > I have a process (an instance of a find command) that seems to be
> > > unkillable (ie kill -9 <pid> as root doesn't work).
> > >
> > > Top shows it's status as R.
> > >
> > > Is there anything I can do to kill the thing? It's taking up all unused cpu
> > > cycles (currently at 97.4%).
> >
> > I assume that's kapm-idled.  That's normal, it's job is exactly burning
> > unused cycles.
> 
> No. He said it's an instance of find.
> 
> Stuck in R, though - some sort of loop? Christopher, can you attach gdb to
> it and see what's happening?


Okay, I just tried this, and the pertinant results were: 

$ gdb find
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ppc-yellowdog-linux"...(no debugging symbols
found)...
(gdb) attach 31075
Attaching to program: /usr/bin/find, Pid 31075



At this point it hangs and ctrl-C has no effect and I have to kill it from
another console.

Attaching to another program worked fine.

Any other ideas?

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

  reply	other threads:[~2001-10-11 19:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 15:22 NetFilter: Problem in adding additional header using NetFilter Shiva Raman Pandey
2001-10-11 15:53 ` James Sutherland
2001-10-11 16:09   ` Sound on Vaio partially dies between 2.4.5 and 2.4.6 Greg Ingram
2001-10-11 16:48   ` unkillable process in R state? Christopher Friesen
2001-10-11 17:25     ` Ralf Baechle
2001-10-11 18:19       ` Christopher Friesen
2001-10-11 18:19       ` James Sutherland
2001-10-11 19:18         ` Christopher Friesen [this message]
2001-10-11 22:19           ` Alex Pennace
2001-10-11 22:57           ` James Sutherland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BC5F0A0.56F644B7@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=jas88@cam.ac.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox