Apache and MySQL crashing

Posted November 23, 2014 2.8k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

Submit an Answer