Kill Linux-zombie Zombie Process

Source: Internet
Author: User

ZOMBIE: Zombie State, a state that represents the end of a process but not yet extinct, when the process has finished running and freed most of the resources, but the Process Control block has not been released .

The process state that corresponds to the zombie is also running (running or waiting), uninterruptable (non-interruptible blocking state), interruptable (interruptible blocking state), STOPPED (pending state).

Workaround:

#ps-A-o stat,ppid,pid,cmd |grep-e "^[zz]"//View specific process: #kill-9 PID number//Kill Z Process (these actions are more dangerous, I hope in the real server above the cautious use!!!) )

 

If the z-process is more, the following is the participation of online

#ps-A-O stat,ppid,pid,cmd | Grep-e ' ^[zz] ' | awk ' {print $} ' | Xargs kill-9


This article from "mask_x Blog" blog, reproduced please contact the author!

Kill Linux-zombie Zombie Process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.