Yes, this is run every two minutes in cron(and is actually just a snippet of the full one -- it also checks the mod_perl server, webserver, qmail, etc).
The advantadge of this, is that it mimics an actual request, where most other just monitor that the process is still running. That way if mysql hangs, or is unresponsive, the monitor script will restart it.
The only downside right now is if it dies in the night and can't restart it (only happened once) I end up with 400-500 emails in the morning.
Cheers,
Alex
The advantadge of this, is that it mimics an actual request, where most other just monitor that the process is still running. That way if mysql hangs, or is unresponsive, the monitor script will restart it.
The only downside right now is if it dies in the night and can't restart it (only happened once) I end up with 400-500 emails in the morning.
Cheers,
Alex