Comments - MariaDB keeps crashing on some wordpress posts

9 years ago Guillaume Lefranc

That's correct. I advise to do as I suggested earlier i.e. reduce mysqld memory usage. You can refer to the following blog post for pointers:

9 years ago Nuno Carapito

This is my /etc/my.cnf file.

Still crashed today due to Lack of memory. Is there anything else I need to change?

This is my memory :

9 years ago Guillaume Lefranc

Do you run anything else than MariaDB on this server? Can you also put the output of syslog with the out of memory killer?

9 years ago Nuno Carapito

I have httpd server only.

How can I see that? What's the command?

9 years ago Ian Gilfillan

Search for the syslog file on your distribution - see for some common locations. Look in the log for what's happening around the time of the crashes.

8 years, 10 months ago Ian Gilfillan

Those aren't really helpful in solving your problem. If you're running multiple things on your server, and the server runs out of memory, it will choose a process to kill in order to free enough resources. You need to find which process(es) are using the memory, and make sure they don't exceed the available memory. You've already got MariaDB set to fairly minimal settings, so there's not much more you can do there. You need to look at minimizing Apache's memory usage as well, making sure no other processes are using up memory, and/or simply add more RAM. This isn't the best place to ask for help with Apache configuration or with general Linux help, so if you're still struggling, try asking on some forums more dedicated to those issues. Good luck!

9 years ago Nuno Carapito

This happened when I used "Mysqld_safe". Maybe config file is wrong?

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.