Re: Can't kill process

From: David Wolfskill (david_at_catwhisker.org)
Date: 02/24/04

  • Next message: Gerrit Nagelhout: "Re: >2GB Bugs still exist in FreeBSD 4.9 ?"
    Date: Tue, 24 Feb 2004 11:57:20 -0800 (PST)
    To: freebsd-stable@freebsd.org, michael@gisp.dk
    
    

    >Date: Tue, 24 Feb 2004 18:19:38 +0100 (CET)
    >From: Michael Sig Birkmose <michael@gisp.dk>
    >To: freebsd-stable@freebsd.org
    >Subject: Can't kill process
    >Sender: owner-freebsd-stable@freebsd.org

    >I am currently running FreeBSD 4.9, and I have a user who somehow managed
    >to get some dead bash processes. I have repeatedly attempted to kill -9
    >this process without any luck. The way I understood it was that kill -9 was an
    >"offer that the process can't refuce" :) I.e. that the process would be
    >terminated no matter wat by the OS?

    >...

    >Does anyone have an idea of what I have to do, in order to kill the
    >proces?

    If a process doesn't get any CPU time at all, it's difficult to do
    anything at all with it, including making it exit. This can be an
    issue, e.g., for a process that had opened a file on an NFS-mounted
    file system, then the NFS server goes away. A subsequent read()
    by the process in question will show up with a "D" under "STAT" in
    the output of "ps".

    It's rather disruptive, but a reboot may be required to actually get rid
    of the process entirely.

    Peace,
    david

    -- 
    David H. Wolfskill				david@catwhisker.org
    I do not "unsubscribe" from email "services" to which I have not explicitly
    subscribed.  Rather, I block spammers' access to SMTP servers I control,
    and encourage others who are in a position to do so to do likewise.
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Gerrit Nagelhout: "Re: >2GB Bugs still exist in FreeBSD 4.9 ?"

    Relevant Pages

    • Re: Incorrect df -k output??
      ... It can happen on the /var file system if an error occurs ... kill the processes. ... C makes an art of confusing pointers with arrays and strings, ...
      (freebsd-stable)
    • Re: ls hung
      ... Why ls doesn't dies? ... Signals can only affect processes when they are executing in user ... any sugestion about how to kill this process? ... Most likely the machine that was serving the file system is no longer making ...
      (comp.unix.solaris)
    • Re: umount -f
      ... without corrupting the file system and without bringing the ... I would write a script that pulls fstat data, ... then attempts to unmount the filesystem. ... go through the fstat data again and kill -9 the processes this time. ...
      (freebsd-questions)
    • Re: [PATCH 1/9] exofs: osd Swiss army knife
      ... by the file system. ... Also the declarations of constants, on disk structures, and prototypes. ... Then please kill the typedef altogether and replace it with `unsigned ... document that linux expects certain atomic behaviour" ...
      (Linux-Kernel)
    • Re: [PATCH 1/9] exofs: osd Swiss army knife
      ... by the file system. ... Also the declarations of constants, on disk structures, and prototypes. ... And the Kbuild+Kconfig files needed to build the exofs module. ... Then please kill the typedef altogether and replace it with `unsigned ...
      (Linux-Kernel)

  • Quantcast