Question
How do you kill a hung process?
Answer
There may be times when you need to kill off a hung process. The following article can help you determine whether the process has truly hung:
How do I know if a process is running or working?
Command line
- Log in to the server via SSH as
root -
Find the process ID. For example, if you are looking for
rsyncprocesses:# ps -elfwww | grep rsync
The output looks like this:
CONFIG_TEXT: 4 S root 3589 3586 0 97 17 - 40955 poll_s Sep08 ? 00:00:04 /usr/local/jetapps/usr/bin/rsync
The process ID is the fourth field from the left; in this example, it is 3589.
-
Kill the process:
# kill 3589
WHM
- Log in to WHM as
root - Navigate to Home / System Health / Process Manager
- Find the process ID for the hung process in the first column on the left
- Click on the (Kill) link to the right of the process ID.
Comments
0 comments
Article is closed for comments.