Server running out of memory, disabling Mariadb

3 posts / 0 new
Last post
#1 Fri, 02/22/2019 - 02:42
clickbizz

Server running out of memory, disabling Mariadb

Hello,

Our server uses too much memory on a regular basis. It takes about a day to "fill up", after that the server automatically disables the mariadb server causing all websites to malfunction.

A simple way to solve this was to disable one server for a second, then enable it again to clear the memory real quick. However, how could it be that the memory fills up completely like that? I don't like setting a cronjob to clear the memory, but I don't know what could cause it. None of the virtual servers seem to use too much memory.

Thanks in advance

Wed, 02/27/2019 - 04:59
Evelix

Do you have swap enabled? This will prevent your server for crashing when your real memory usage tips over. If no swap enabled and memory used up, your server has to shut down some processes, which will be database etc

Thu, 02/28/2019 - 07:50
clickbizz

I do have a swap enabled, however it just fills over time as well. Doesn't seem to matter how big my swap is, it will just make it run out of memory quicker or slower.

Topic locked