Memory exhausted on wp site affecting entire server
-
I recently deployed a WordPress site, and I’ve noticed that the RAM is constantly being exhausted, which makes the site inaccessible. What’s worse, this issue affects the other instances on the server as well — they also become unreachable, including the Cloudron dashboard itself. The only way to restore access is by rebooting the entire server.
It’s important to note that the configurations set for the server and each app do not exceed the assigned limits for memory or CPU.
-
@mbarria I would start by disabling all site plugins and seeing if the memory leak stops. Then bring them back one by one. I can't explain why the container limit is not enforced, but it could also be that the WP site causes problems with MySQL. Lastly, how much RAM do you have on the Cloudron server and if you disable the WP site, how are the remaining apps functioning relative to service limits?
-
@mbarria if you can get by with docker, can you please try this via SSH?
docker ps
<- this will return the container ids . get the container id of the wordpress appdocker inspect <containerid>
<- In the output of the command you will see the various Memory contraints. Can you check if the contraints are getting applied?