Hi guys, I have my server in Hetzner 2 CPUs, 4GB RAM and 20GB SSD.
I ran my Wordpress and Google Drive Proxy. I have an issue where the CPU sometimes reach 100% even 200%
This condition last for an hour. So I restart the Webuzo service, the CPU still high. And then I decide to reboot my server. And the server back to normal. This happens often.
So I tried to search around the Google Search and there is a tool called Monit that can reboot the server automatically when the server CPU reaching 100% for 2-3 minutes and this tool will reboot the server.
I'm pretty new with this CL & Linux things so I really need a hand. So please tell me how I can config (the command line and stuff) Monit to reboot my server automatically if server CPU reach 100% for 2-3 minutes.