Corn jon to auto restart server when its down
-
- Posts: 1
- Joined: Sun Jun 05, 2016 8:11 am
Corn jon to auto restart server when its down
Hey everyone i want to know the corn job to auto restart server when its down . My server has 8 gb ram and it crashes due to high mysql usage . right now i can't afford to upgrade my server so please tell me how to do this .
http://www.hublaa-autoliker.com/ it crashes most of the time and i have to manually restart the site can someone help me to solve this
http://www.hublaa-autoliker.com/ it crashes most of the time and i have to manually restart the site can someone help me to solve this
Re: Corn jon to auto restart server when its down
Try "Monit". Not bulky and is coded to monitor services and restart them should they be offline, be slow, or use up too much RAM.
Config example: https://mmonit.com/wiki/Monit/ConfigurationExamples
Config example: https://mmonit.com/wiki/Monit/ConfigurationExamples