Apache and MySQL crashing

November 23, 2014 900 views

I have a problem about Apache and MySQL that are often crashes.
I've read the same problems about this matter, and "ivan.denkov87" suggest something like this:

"I use a script to check couple of services every 5 minute if they are running, and start / restart them if they do not. You can use" monit ""

Anyone know or maybe have an example script? I want to try it.

thank you

2 Answers

Thanks... I'll try it :)

  • Bear in mind, that is not meant to be a solution, but rather a tool to trouble-shoot and keep things going while you figure out what is causing the crashing.

    Two things I always do on WordPress installs that are useful:

    install Login Lockdown plugin. This will reduce brute-force attacks on your WordPress login.

    Change out the WordPress login page. I wrote a plugin for doing this, but I would have to write up a tutorial on how to install it...or you can just google on how to do it.
    It is a simple thing, but it has saved me a lot of time. You would be amazed at how many robots are trying to login to your WordPress site...sometimes one every few seconds...and this can often cause crashes.

Thank you for your suggestion.

Right! MySQL is still crashes . MySQL would not restart yesterday and I have to restart my VPS manually using SSH .

I 've changed the login page according to your suggestion manually .

Hopefully... this can prevent MySQL crashes .

Is there another solution to avoid crashes MySQL ?

thank you

Have another answer? Share your knowledge.