











|  |
Pages (3): [1] 2 3 »
| Author |
Killing a process that won't DIE!!!
|
Andrew
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Killing a process that won't DIE!!!
Anyone know of a sure way to kill a process?
I recently had a process that would not die.
I tried all the typical kill commands, with no succes.
Finally, ugh, a reboot ended this processs with 9 lives.
Any suggestions would be appreciated.
Andrew
www.wbglinks.net
Report this post to a moderator
|
|
07-31-02 09:25 AM
|
|
Nils O. =?iso-8859-1?Q?Sel=E5sdal?=
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
In article < 459fku4e32sr3j3r6q6q9mbedec8d8
9ran@4ax.com>, Andrew wrote:
> Anyone know of a sure way to kill a process?
>
> I recently had a process that would not die.
>
> I tried all the typical kill commands, with no succes.
> Finally, ugh, a reboot ended this processs with 9 lives.
>
> Any suggestions would be appreciated.
your best shot is kill -9 <pid>
However, if these are zombie processes,you cant kill them, that usually
means the parent processes does something wrong. Not to worry, they use
very little resources(no memory, open files et.c.). If however the process
is stuck in a D state you cant kill it, usually means the kernel have done
something wrong.
Look at the output of "top" or ps -aux, the STAT column will say
Z (zombie) or D
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
InsaneGadgets.com
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
On Wed, 31 Jul 2002 08:57:09 GMT, Andrew <Andrew@NOSPAM.com> wrote:
>Anyone know of a sure way to kill a process?
>
>I recently had a process that would not die.
>
>I tried all the typical kill commands, with no succes.
>Finally, ugh, a reboot ended this processs with 9 lives.
I was told, a long time ago, that such a process is waiting on a
hardware interupt, and would die (if killed) when it received that
interupt.
I guess there may be other reasons though. Especially as the above
was regarding unix on a Unisys box about 9 years ago :-)
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
Andrew
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
On Wed, 31 Jul 2002 09:23:49 GMT, noselasd@frisurf.no (Nils O.
Selåsdal) wrote:
>In article < 459fku4e32sr3j3r6q6q9mbedec8d8
9ran@4ax.com>, Andrew wrote:
>> Anyone know of a sure way to kill a process?
>>
>> I recently had a process that would not die.
>>
>> I tried all the typical kill commands, with no succes.
>> Finally, ugh, a reboot ended this processs with 9 lives.
>>
>> Any suggestions would be appreciated.
>your best shot is kill -9 <pid>
>However, if these are zombie processes,you cant kill them, that usually
>means the parent processes does something wrong. Not to worry, they use
>very little resources(no memory, open files et.c.). If however the process
>is stuck in a D state you cant kill it, usually means the kernel have done
>something wrong.
>Look at the output of "top" or ps -aux, the STAT column will say
>Z (zombie) or D
>
Well, that was the problem....the stuck process was eating 80 percent
of my memory.
Andrew
www.wbglinks.net
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
Andrew
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
On Wed, 31 Jul 2002 09:23:49 GMT, noselasd@frisurf.no (Nils O.
Selåsdal) wrote:
>In article < 459fku4e32sr3j3r6q6q9mbedec8d8
9ran@4ax.com>, Andrew wrote:
>> Anyone know of a sure way to kill a process?
>>
>> I recently had a process that would not die.
>>
>> I tried all the typical kill commands, with no succes.
>> Finally, ugh, a reboot ended this processs with 9 lives.
>>
>> Any suggestions would be appreciated.
>your best shot is kill -9 <pid>
>However, if these are zombie processes,you cant kill them, that usually
>means the parent processes does something wrong. Not to worry, they use
>very little resources(no memory, open files et.c.). If however the process
>is stuck in a D state you cant kill it, usually means the kernel have done
>something wrong.
>Look at the output of "top" or ps -aux, the STAT column will say
>Z (zombie) or D
>
Well, that was the problem....the stuck process was eating 80 percent
of my memory.
Andrew
www.wbglinks.net
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
Andrew
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
On Wed, 31 Jul 2002 09:23:49 GMT, noselasd@frisurf.no (Nils O.
Selåsdal) wrote:
>In article < 459fku4e32sr3j3r6q6q9mbedec8d8
9ran@4ax.com>, Andrew wrote:
>> Anyone know of a sure way to kill a process?
>>
>> I recently had a process that would not die.
>>
>> I tried all the typical kill commands, with no succes.
>> Finally, ugh, a reboot ended this processs with 9 lives.
>>
>> Any suggestions would be appreciated.
>your best shot is kill -9 <pid>
>However, if these are zombie processes,you cant kill them, that usually
>means the parent processes does something wrong. Not to worry, they use
>very little resources(no memory, open files et.c.). If however the process
>is stuck in a D state you cant kill it, usually means the kernel have done
>something wrong.
>Look at the output of "top" or ps -aux, the STAT column will say
>Z (zombie) or D
>
Well, that was the problem....the stuck process was eating 80 percent
of my memory.
Andrew
www.wbglinks.net
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
Andrew
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
On Wed, 31 Jul 2002 09:23:49 GMT, noselasd@frisurf.no (Nils O.
Selåsdal) wrote:
>In article < 459fku4e32sr3j3r6q6q9mbedec8d8
9ran@4ax.com>, Andrew wrote:
>> Anyone know of a sure way to kill a process?
>>
>> I recently had a process that would not die.
>>
>> I tried all the typical kill commands, with no succes.
>> Finally, ugh, a reboot ended this processs with 9 lives.
>>
>> Any suggestions would be appreciated.
>your best shot is kill -9 <pid>
>However, if these are zombie processes,you cant kill them, that usually
>means the parent processes does something wrong. Not to worry, they use
>very little resources(no memory, open files et.c.). If however the process
>is stuck in a D state you cant kill it, usually means the kernel have done
>something wrong.
>Look at the output of "top" or ps -aux, the STAT column will say
>Z (zombie) or D
>
Well, that was the problem....the stuck process was eating 80 percent
of my memory.
Andrew
www.wbglinks.net
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
Brian Reichle
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
Andrew wrote:
> Anyone know of a sure way to kill a process?
>
> I recently had a process that would not die.
>
> I tried all the typical kill commands, with no succes.
> Finally, ugh, a reboot ended this processs with 9 lives.
>
> Any suggestions would be appreciated.
>
>
> Andrew
> www.wbglinks.net
>
did you try
kill -9 <pid>
if that dont work, is the process defunct? (man ps). if so try killing
the parent process (man pstree)
Report this post to a moderator
|
|
07-31-02 10:25 AM
|
|
oh_hami@hotmail.com
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
In comp.os.linux.networking Nils O. Selåsdal <noselasd@frisurf.no> wrote:
> your best shot is kill -9 <pid>
Another worth trying is kill -15 <pid>.
I've met several processes which refused to die with SIGKILL, but went
smoothly six-feet-under with SIGTERM. Dunno why...
--
T.I.M.O = This Is My Observation | Timo Voipio | tvoipio@SBiki.fi.inv
GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++
o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y
Report this post to a moderator
|
|
07-31-02 11:25 AM
|
|
James Knott
Guest
Registered: Not Yet Location: Country: State: Certifications: Working on:
Total Posts: N/A
|
|
Re: Killing a process that won't DIE!!!
Andrew wrote:
> Anyone know of a sure way to kill a process?
>
> I recently had a process that would not die.
>
> I tried all the typical kill commands, with no succes.
> Finally, ugh, a reboot ended this processs with 9 lives.
>
> Any suggestions would be appreciated.
Did you add -9 to the kill command?
--
Fundamentalism is fundamentally wrong.
To reply to this message, replace everything to the left of "@" with
james.knott.
Report this post to a moderator
|
|
07-31-02 11:25 AM
|
|
|
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF. |
|
ExamNotes forum archive
|