Mailing List Archive

Killing a process
A ran a process that's been taking up 100% CPU on my server for 25
minutes now. I've tried:

kill 1234

where 1234 is the PID, but it just keeps rolling along. How do I stop
this thing?

- Grant

--
gentoo-user@gentoo.org mailing list
Re: Killing a process [ In reply to ]
i use killall -9 PID or process name

~P


On Thu, 2004-09-30 at 17:26, Grant wrote:
> A ran a process that's been taking up 100% CPU on my server for 25
> minutes now. I've tried:
>
> kill 1234
>
> where 1234 is the PID, but it just keeps rolling along. How do I stop
> this thing?
>
> - Grant
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
gentoo-user@gentoo.org mailing list
Re: Killing a process [ In reply to ]
On Thursday 30 September 2004 22:26, Grant wrote:
> A ran a process that's been taking up 100% CPU on my server for 25
> minutes now. I've tried:
>
> kill 1234
>
> where 1234 is the PID, but it just keeps rolling along. How do I stop
> this thing?

Try a kill -9 1234

Look at man kill for an explaination.
Bewared, if it's in STAT D (ps aux), it's likely nothing will kill it. Stat D
is an uninteruptable sleep, mostly waiting on IO, hung NFS mounts, etc.

--
Mike Williams

--
gentoo-user@gentoo.org mailing list
Re: Killing a process [ In reply to ]
> > A ran a process that's been taking up 100% CPU on my server for 25
> > minutes now. I've tried:
> >
> > kill 1234
> >
> > where 1234 is the PID, but it just keeps rolling along. How do I stop
> > this thing?
>
> Try a kill -9 1234

That got it. Thank you.

- Grant

--
gentoo-user@gentoo.org mailing list
Re: Killing a process [ In reply to ]
On Thu, 2004-09-30 at 15:30, Mike Williams wrote:

> Bewared, if it's in STAT D (ps aux), it's likely nothing will kill it. Stat D
> is an uninteruptable sleep, mostly waiting on IO, hung NFS mounts, etc.

In which case you can kill it by logging out (assuming it's your
process).

--
Glenn English
ghe@slsware.com



--
gentoo-user@gentoo.org mailing list
Re: Killing a process [ In reply to ]
Mike Williams wrote:

> Bewared, if it's in STAT D (ps aux), it's likely nothing will kill it. Stat D
> is an uninteruptable sleep, mostly waiting on IO, hung NFS mounts, etc.

True. But a sleeping process will not take much (if any) CPU resources,
will it?

Alexander Skwar
--
Poverty begins at home.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


--
gentoo-user@gentoo.org mailing list
Re: Re: Killing a process [ In reply to ]
On Thursday 30 September 2004 23:56, Alexander Skwar wrote:
> Mike Williams wrote:
> > Bewared, if it's in STAT D (ps aux), it's likely nothing will kill it.
> > Stat D is an uninteruptable sleep, mostly waiting on IO, hung NFS mounts,
> > etc.
>
> True. But a sleeping process will not take much (if any) CPU resources,
> will it?

Doh, yep, true indeed. Without the data it requires it can't "do" much, it
will push the load average up by 1 though.

--
Mike Williams