-
☆ A M B ☆
- 1,231 Posts
Well I have to say that I’m pretty worried about the performance of rev. I had 80 people on my web page and it used 80% of my dedicated servers CPU. The connector for the gallery used 10% alone.
Has anyone found a crazy amount of resources being used up with rev? My dedicated server has a dual core pentium, 4gb ram.
-
MODX Staff
- 12,272 Posts
Going to have to supply a lot more information about your server, your Revo config/version and what you’re running and how you have caching set up for your snippets. Please see the "help us help you" link in my signature.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 1,231 Posts
I’m using Rev 2.0.5 PL(traditional), php.ini memory settings are set to 250mb.
mysql 5.2.1.4
php 5.0.91
charset utf-8
zend engine 2.2.0
suexec enabled
CentOS 5.5
I don’t have any snippets cached or pages, should I do that? I pretty much have rev at the default settings for most things. Things were fine till about 90 people hit the site in one go and the server processes was taken completely up by the modx index.php file. Even now that there’s no one on the site and I try saving documents in the manager it’s very slow.
/usr/bin/php /home/public_html/index.php
there is 6 instances of that file in a row all using anything from 5-6% of the cpu.
Total processors: 2
Processor #1
Vendor
GenuineIntel
Name
Pentium(R) Dual-Core CPU E5400 @ 2.70GHz
Speed
2700.136 MHz
Cache
2048 KB
Processor #2
Vendor
GenuineIntel
Name
Pentium(R) Dual-Core CPU E5400 @ 2.70GHz
Speed
2700.136 MHz
Cache
2048 KB
-
☆ A M B ☆
- 1,231 Posts
I have updated my server software and it hasn’t helped any.
PHP Version 5.3.4
Mysql 5.1.51
What else should I check or provide to get to the bottom of this?
-
☆ A M B ☆
- 2,213 Posts
What HTTP server are you using, do you have other sites on the server, and you have everything you can cached right?
-
☆ A M B ☆
- 1,231 Posts
I have other sites on the server, only 2 using rev. I have not got anything cached right now but that should not cause this kind of CPU usage when only 1 person loads the page.
I’m loading a page that I can only see and it spikes to 100% sometimes. Seems that some pages that use the rev gallery/connector or phpthumb seem to cause bigger issues.
What do you mean by HTTP server?
My support team is suggesting it’s something to do with mysql_pconnect as it’s a persistent connection to the DB? Would this be right?
-
☆ A M B ☆
- 2,213 Posts
The http server would be something like apache or iis.
Cache as much as you can, that should help a lot. Use caches calls [[.....]] vs uncached [[!...]] should help.
Can you tell us more about the site, what snippets are you using and such. Having the other sites on the server eliminates a few thing, but it sill shouldn’t tax the server that much.
If you want I’ll be happy to look things over and give more specific suggestions.
-
☆ A M B ☆
- 1,231 Posts
It’s an apache server.
I think there is something further wrong than modx. I have a wordpress site on there and it’s been hitting 50% for some reason. I really have no idea what is going on with the server.
The support team has tried everything. I’ll keep this thread updated if and when I manage to sort it out. I initially thought it was modx Rev as I checked the process manager on the server and it was hitting 100%. I should of checked the other sites but just instantly assumed it was rev.
Anyway, will let you know.
+1 for maximum caching. I set all of my Wayfinder menu snippets as cached. That alone reduces loading time by as much as 50% or more.
lo9on.com
MODx Evolution/Revolution | Remote Desktop Training | Development
-
MODX Staff
- 12,272 Posts
Wordpress doesn’t do any caching by default either. You should always cache unless there’s very specific reasons to not do so, or as you have found out, you run into scaling issues.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me