Results 1 to 7 of 7

Thread: What is the most drastic way to kill a program?

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Posts
    54

    What is the most drastic way to kill a program?

    How can I kill a program that has locked up completely and doesnt seem to react to anything?

    I tries these, but didnt work:
    CTRL+C
    kill -KILL <pid>
    kill -TERM <pid>
    kill -HUP <pid>

  2. #2
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:What is the most drastic way to kill a program?

    I had this happen to me. The only command that worked was: reboot

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:What is the most drastic way to kill a program?

    I take it you couldnt xkill it? That has worked for me when the cli wouldnt help.

  4. #4

    Re:What is the most drastic way to kill a program?

    kill -9 PID ? also - are the parent processes dead?

  5. #5

    Re:What is the most drastic way to kill a program?

    you mean like mount /mnt/cdrom and not being able to kill it? mount and some other things to stuff in /dev can lock up beyond a ^C or kill -9.

  6. #6
    Junior Member
    Join Date
    Jul 2002
    Posts
    54

    Re:What is the most drastic way to kill a program?

    [quote author=gorn link=board=1;threadid=4840;start=0#48259 date=1031111410]
    you mean like mount /mnt/cdrom and not being able to kill it? mount and some other things to stuff in /dev can lock up beyond a ^C or kill -9.
    [/quote]

    Wow, nice guess

    It actually was modprobe ide-cd that locked up, with absolutely no way to kill it. I still don't see why it locked up. Could read the cdrom or so?
    I think the reason why it couldn't be killed is probably because the modprobe program is somehow connected to the kernel, and obviously, you cant kill the kernel

  7. #7

    Re:What is the most drastic way to kill a program?

    [quote author=Bartman link=board=1;threadid=4840;start=0#48333 date=1031166460]I think the reason why it couldn't be killed is probably because the modprobe program is somehow connected to the kernel, and obviously, you cant kill the kernel [/quote]

    bingo

    Yea, i've never seen modprobe hang... but i can see it more so than mount, and mount i've seen many times.

    Reboot gets rid of it, if it happens everytime, something is screwy with your kernel.

Similar Threads

  1. How to Kill Linux
    By cloverm in forum General Chat
    Replies: 5
    Last Post: 05-01-2005, 04:20 PM
  2. Kill Bill
    By mojo jojo in forum General Chat
    Replies: 1
    Last Post: 10-31-2003, 07:52 PM
  3. Replies: 2
    Last Post: 10-21-2002, 07:51 PM
  4. Someone here says kill C
    By in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 01-10-2002, 11:12 PM
  5. To kill or not to kill
    By johnqpublic in forum General Chat
    Replies: 2
    Last Post: 11-19-2001, 01:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •