Comments - MariaDB keeps crashing on some wordpress posts
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.
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 :
Do you run anything else than MariaDB on this server? Can you also put the output of syslog with the out of memory killer?
I have httpd server only.
How can I see that? What's the command?
Search for the syslog file on your distribution - see http://stackoverflow.com/questions/6074362/how-to-check-syslog-in-bash for some common locations. Look in the log for what's happening around the time of the crashes.
Only got this logs:
The message one says :
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!
This happened when I used "Mysqld_safe". Maybe config file is wrong?