How To Auto-Restart Apache If the Load Gets Too High

Published Date Author: , Posted September 15th, 2015 at 7:52:39pm

The script to check and restart apache…works on CentOS – YMMV!

Add to cron

* * * * * /root/restart_apache_if_load_hits_threshold.sh >> /var/log/restart_apache_if_load_hits_threshold.log 2>&1

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.