I am running a VPS with 1024 mb ram that is hosting a single WordPress site. Lately I have been having a lot of database problems where WordPress is giving me "Error establishing a database connection". I can make the server crash just by crawling it with Screaming Frog SEO tool.
Sometimes the issue resolves itself, sometimes I need to manually restart MySQL, and other times I have to completely reboot the server.
I thought the error was related to MySQL itself, but after examining the various logs, it seems like my server is running out of memory and therefore simply killing MySQL.
I have been running ´top´ from command line, but can't figure out what's causing the problem. When accessing the server status in WHM I am using around 70 % of ram most of the time.
Would really appreciate some suggestions as how to proceed from here to figure out what is consuming my memory and causing the issues.
Thanks!
However - the daily proces logs mentions an average memory usage of 30 % most days.
Sometimes the issue resolves itself, sometimes I need to manually restart MySQL, and other times I have to completely reboot the server.
I thought the error was related to MySQL itself, but after examining the various logs, it seems like my server is running out of memory and therefore simply killing MySQL.
I have been running ´top´ from command line, but can't figure out what's causing the problem. When accessing the server status in WHM I am using around 70 % of ram most of the time.
Would really appreciate some suggestions as how to proceed from here to figure out what is consuming my memory and causing the issues.
Thanks!
However - the daily proces logs mentions an average memory usage of 30 % most days.
Last edited by a moderator: