[ad_1]
Hey guys, so essentially my server is a monster. It constantly crashed when I had 8gb of ram. So I upgraded to 16gb and it worked good (had to restart every week or so). Now i’ve upgraded to 32gb of ram thinking it’d give me more space, but the site is now consistently consuming 15gb\~ and rising of ram? I’ve done a virus/malware check, I’ve tried disabling and reenabling plugins, no dice. Could anybody help? The number of SQL quires occurring is also odd.
​
Here is a screenshot of the usage:
[ad_2]
How big is your site? Unless it’s massive you should not be using anywhere near that much ram – and you should never have to restart a server regularly to keep it working. Can you check which process is using all of the ram? You might have a memory leak somewhere, or just very badly optimized code.
Sounds like your code is hogging RAM due to unoptimized processes. I’d suggest you look into what’s eating the ressources, instead of stacking more power on top.
Log in with ssh and you can use top to see what’s using so much memory. press shift+m after running the top command to sort by memory used.
Maybe it’s time for some managed webhosting
I would suggest to add cache plugins and clean up your databases and cut down on plugins. You dont need so much ram for a cute site. How many pages you have in total? lot of medias? does the site process any sql queries?
I would suggest getting SSH and check the process there and if you see whatever cause high performance, kill it and you can be able to downsize the usage under 5%.
I have a cloud server 4 CPU/8GB RAM and I run 8 websites and most of them average 300 visitors daily and never had issues. Bear in mind, all these sites running WordPress.
If you want some help, PM me and I will be glad to guide you and ensure what you really need.
Good luck.