How to kill the process: Excessive resource usage
Hi all I receive a lot of these.
Now I read on this forum the other thread that I should kill these processes and I found the tutorial on killing the process in linux but I am not sure what PID of 2 I should kill?
The tutorial says:
kill -9 22245
lfd on dwacu.dedicatedserver.com: Excessive resource usage: xtggsnwi (22745 (Parent PID:2442))
Time: Sat Jul 18 10:21:00 2020 +0200
Account: xtggsnwi
Resource: Virtual Memory Size
Exceeded: 524 > 512 (MB)
Executable: /opt/cpanel/ea-php73/root/usr/sbin/php-fpm
Command Line: php-fpm: pool mydomain_com
PID: 22745 (Parent PID:2442)
Killed: No
As I understand I should first kill 22245 and then try to kill parent PID?
kill -9 22745
kill -9 2442
Is this correct?
I am not sure what -9 stands for and can I harm the system by killing these processes?
-
I don't think killing processes is a good idea. You should first investigate why is this happening. It might be absolutely fine. If you really want to "kill" processes I suggest you to suspend the account which will exist all the processes belongs to the user and then unsuspend it. You can also hire a professional sys admin from to help you investigate it further if needed. 0 -
This is indicating that the account noted is using over the threshold of 512mb of vmem (virtual memory) and it notes the php-fpm process as being the culprit. Identifying the cause rather than blindly killing a process is always the best move as suggested by @andrew.n 0
Please sign in to leave a comment.
Comments
2 comments