-
☆ A M B ☆
- 24,524 Posts
You can try turning off CSS and JS compression.
-
MODX Staff
- 2,502 Posts
I know for a fact that the way CloudLinux is partitioned by default in most cases will cause problems with the MODX Manager. According to A2 Hosting's team they had to increase the virtual memory limit from 2GB to 8GB. This didn't negatively affect the anything else and they were able to keep the 1GB physical memory still in place.
According to their research this is because CloudLinux introduced a new concept of virtual memory and physical memory. Their stats are showing sites were nowhere near hitting the physical memory limit but the virtual memory limit was getting inherited from the Apache memory usage as well, apparently.
This seems to have resolved all reported issues they were having. That being said, as Susan noted, you should disable CSS/JS compression as it can slow the manager on most environments.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
It's unlikely, but it's possible to have a resource that is its own parent or two resource that are each other's parent. That might suck memory when the Resource tree is rendered.
There is also the clear_cache_refresh_trees System Setting. Turning that off might help.
All that said, I think Jay is probably right about it being CloudLinux.
-
☆ A M B ☆
- 24,524 Posts
If this "virtual memory" includes the web server's memory use, PHP memory use and MySQL memory use, it could well be that the way xPDO optimizes and caches queries could be at least part of the problem. It's always a tradeoff between speed, processor and memory.
-
MODX Staff
- 2,502 Posts
@bobd72 unfortunately, this is an issue of the way many hosts are configuring (or not) their CloudLinux installs. My understanding is that many use the default settings for memory which has not been tested widely for web application support. It's design is to allow Cloud hosting providers to strongly partition resource usage on a per account basis and not for optimal hosting performance of the account owner.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub