From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Killing a process with a kernel module
Date: Sun, 06 Nov 2005 11:57:14 -0600 [thread overview]
Message-ID: <436E43FA.1090409@shaw.ca> (raw)
In-Reply-To: <55vPd-6Ug-155@gated-at.bofh.it>
Patrick Barnes wrote:
> Hi there,
>
> RedHat recently released RHEL4 U2, and this update has some
> unfortunate consequences, mainly
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170087
>
> As stated in the bugzilla report above, useradd gets stuck in a R
> state and ignores all signals.
>
> I have a critical system which I can't take down for another week or
> so, but the extra load generated by the rogue useradd process is
> slowing things down a little too much.
>
> I was wondering if it was possible to safely terminate the process
> using a more direct method (perhaps by manipulating kernel data
> structures.)
>
> What I'd like to know is if it is actually possible before attempting
> to write the code to do it.
>
> I know this is a long shot, but it's probably worth trying. :)
>
> Thanks for your time. I look forward to any replies.
If it's not responding to signals I wouldn't count on being able to do
this safely. Can't you nice the process down to lowest priority?
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next parent reply other threads:[~2005-11-06 17:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <55vPd-6Ug-155@gated-at.bofh.it>
2005-11-06 17:57 ` Robert Hancock [this message]
2005-11-05 11:19 Killing a process with a kernel module Patrick Barnes
2005-11-06 16:33 ` Pavel Machek
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=436E43FA.1090409@shaw.ca \
--to=hancockr@shaw.ca \
--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