The reason why the kill-9pid command cannot stop the process-Linux general technology-Linux technology and application information, the following is read details. Problem: this is the case. I found that there are many lsof processes in linux:
Ps aux | grep lsof command result:
Root 10390 0.0 0.0 4960 152? D Jul26 0: 00 lsof-p 10103
Root 10627 0.0 0.0 4180 148? D Jul26 0: 00 lsof-p 9882
Root 10891 0.0 0.0 4180 148? D Jul26 lsof-p 10611
Root 11221 0.0 0.0 5680 152? D Jul26 0: 00 lsof-p 11108
Root 18741 0.0 0.0 4004 152? D Jul28 0: 00 lsof-p 18632
Root 22676 0.0 0.0 5052 152? D Sep25 lsof-p 21738
Root 22776 0.0 0.0 5372 152? D Sep25 0: 00 lsof-p 21738
Root 23051 0.0 0.0 4676 148? D Sep25 0: 00 lsof-p 21663
Root 23310 0.0 0.0 5008 152? D Sep25 0: 00 lsof-p 23292
However, if I use kill-9 10390, it cannot be killed. How can I kill it if I cannot restart my computer.
A: We know that the D (disk) State process is in the deep sleep state because the hardware resources are not satisfied. Generally, it is waiting for the disk. Kill-9 cannot be used to kill such a process. You can either wait or restart the process. We recommend two command Methods: kill-15 'ur id', ps-opid, and ppid. Good luck. The above solution is provided by IT outsourcing www.itwaibaow.com. If you need to reprint IT, please note.
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