These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Server running out of memory, disabling Mariadb on the new forum.
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
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
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.