![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
forcible kill?
hi
I have one process that I can't kill with "kill" it's locked up my /dev/dsp. Is there a "stronger" "kill"? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: forcible kill?
paulwvanc@yahoo.ca writes:
> hi > > I have one process that I can't kill with "kill" > it's locked up my /dev/dsp. > Is there a "stronger" "kill"? kill -9 <pid> -- Todd H. http://www.toddh.net/ |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: forcible kill?
On 13 Dec 2006 02:43:40 -0600, comphelp@toddh.net (Todd H.) wrote:
>paulwvanc@yahoo.ca writes: > >> hi >> >> I have one process that I can't kill with "kill" >> it's locked up my /dev/dsp. >> Is there a "stronger" "kill"? > >kill -9 <pid> I began using Unix in 1986, and even then it was a FAQ: how to 'kill-I-mean-it'. 20 years later, we still dont have that: kill -9 will kill the process but may leave a zombie if the parent is hung, and some resources may not be released until the zombie has been cleared. Which may force you to kill the parent. Which may not be good! |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Re: forcible kill?
On Wed, 13 Dec 2006 12:31:53 +0100, Michel Bardiaux
<mbardiaux@mediaxim.be> wrote: > On 13 Dec 2006 02:43:40 -0600, comphelp@toddh.net (Todd H.) wrote: > >>paulwvanc@yahoo.ca writes: >> >>> hi >>> >>> I have one process that I can't kill with "kill" >>> it's locked up my /dev/dsp. >>> Is there a "stronger" "kill"? >> >>kill -9 <pid> > > I began using Unix in 1986, and even then it was a FAQ: how to > 'kill-I-mean-it'. 20 years later, we still dont have that: kill -9 > will kill the process but may leave a zombie if the parent is hung, > and some resources may not be released until the zombie has been > cleared. Which may force you to kill the parent. Which may not be > good! The advice that I have often read is: if kill -9 is necessary, then remove the defective binary file. -- Brandy-and-water spoils two good things. -- Charles Lamb |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Re: forcible kill?
On 2006-12-13, Michel Bardiaux <mbardiaux@mediaxim.be> wrote:
> > I began using Unix in 1986, and even then it was a FAQ: how to > 'kill-I-mean-it'. 20 years later, we still dont have that: kill -9 > will kill the process but may leave a zombie if the parent is hung, > and some resources may not be released until the zombie has been > cleared. Which may force you to kill the parent. Which may not be > good! Having zombies left lying around isn't really so much of a problem - leave them there and they won't do much harm. When a process goes zombie all memory and open files that it was using are released immediately. The only thing left is an entry in the process table holding the process's exit code. -- Andrew Smallshaw andrews@sdf.lonestar.org |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Re: forcible kill?
In article <j0pvn25klp62pf9470jd864s1hbilaos9b@4ax.com>,
Michel Bardiaux <mbardiaux@mediaxim.be> wrote: > On 13 Dec 2006 02:43:40 -0600, comphelp@toddh.net (Todd H.) wrote: > > >paulwvanc@yahoo.ca writes: > > > >> hi > >> > >> I have one process that I can't kill with "kill" > >> it's locked up my /dev/dsp. > >> Is there a "stronger" "kill"? > > > >kill -9 <pid> > > I began using Unix in 1986, and even then it was a FAQ: how to > 'kill-I-mean-it'. 20 years later, we still dont have that: kill -9 > will kill the process but may leave a zombie if the parent is hung, > and some resources may not be released until the zombie has been > cleared. Which may force you to kill the parent. Which may not be > good! Zombies never consume any resources except a process table slot that holds the termination status. A process doesn't become a zombie until all its resources have been released and the only thing it's hanging around for is its parent to call one of the wait() functionx. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group *** |
|
|
|
#7 |
|
Guest
Posts: n/a
|
Re: forcible kill?
Bill Marcum wrote:
> On Wed, 13 Dec 2006 12:31:53 +0100, Michel Bardiaux > <mbardiaux@mediaxim.be> wrote: >> On 13 Dec 2006 02:43:40 -0600, comphelp@toddh.net (Todd H.) wrote: >> >>> paulwvanc@yahoo.ca writes: >>> >>>> hi >>>> >>>> I have one process that I can't kill with "kill" >>>> it's locked up my /dev/dsp. >>>> Is there a "stronger" "kill"? >>> kill -9 <pid> >> I began using Unix in 1986, and even then it was a FAQ: how to >> 'kill-I-mean-it'. 20 years later, we still dont have that: kill -9 >> will kill the process but may leave a zombie if the parent is hung, >> and some resources may not be released until the zombie has been >> cleared. Which may force you to kill the parent. Which may not be >> good! > > The advice that I have often read is: if kill -9 is necessary, then > remove the defective binary file. > This is certainly a good advice :-) But the program can hang because of another reason: a hung I/O device. In this case a "kill -9" works if the kernel device driver supports an interrupt, otherwise even "kill -9" won't work. The culprit then is either a faulty kernel device driver or the "hardware" (which can be virtual i.e. represented by another software layer). -- Michael Tosch @ hp : com |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please, don't kill my WiFi! | John | Windows Mobile | 26 | 01-09-2007 07:30 AM |
| Was: Kill (...) Now: Guy Macons Resume | anon@anon.com | Slackware Linux | 0 | 29-08-2007 07:48 PM |
| Kill A Thread | John A. Bailo | Windows Server 2003 | 2 | 28-08-2007 10:13 AM |
| Kill Switch for XP? | Alias | Windows XP | 20 | 27-08-2007 11:49 PM |
| How to kill a Lion !!!, Check it out !!! | Strider | Fun & Leisure | 0 | 19-11-2005 01:44 PM |
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |