I just upgraded my site to .9.6 today and after the update the pages started to load extremely slow.
Does anyone have any ideas why?
Thanks
Brian
Server setup:
Apache 2.0.59
PHP 5.2.3
MySQL 5.0.37
MODxCMS 0.9.6
-
MODX Staff
- 12,272 Posts
Is it a shared server? I’ve seen no performance issues with MODx 0.9.6, though I’ve not tested PHP 5.2.3 yet personally. Also we really need much more information (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
Yes it is a shared sever but I control all the domains on it, there are only 7 total. (its a VPS)
.9.5 runs great in this setup
.9.6 there is a noticeable slowdown
Now the setup...
Web Server:
PHP 5.2.3 (its a loaded module i believe suexe, definatly not cgi)
Apache 2.0.59
Fedora Core 2
Database:
MySQL 5.0.37
1 table over 1mb "modx_site_content" which is 1.39mb
MODx:
Version 0.9.6
Version codename rev 2767
I havn’t changed any core elements but there are custom snippets and everything is cached that can be cached.
The entire site loads slow (not a specific page)
Plugins running: Google Analytics Plugin by Mark Kaplan, HyperStabilo, Pip (Pagination Plugin) (modidied) and then all the standard plugins running by default.
Browser/Client: loads slow in safari 2 and Firefox 2
I’m on a Mac OS X 10.4.9
I just updated to apache 2/mysql5 and php5 becuase in the readme file is said that there would be performance gains. I can switch back to php4 and it still is very slow loading. If it wasn’t for the dev site i would say that it is my most recent setup. but since the .9.5 is running fine on the "live" site I dont’ think that is the problem.
looks like it is php...
.9.6: MySQL: 0.3247 s, 147 request(s), PHP: 1.9369 s, total: 2.2616 s, document retrieved from database.
.9.5: MySQL: 0.1681 s, 148 request(s), PHP: 2.4788 s, total: 2.6469 s, document retrieved from database.
Which is strange since It feels like it loads faster...
I will try to install the recomeneded php version and see if that helps.
-
MODX Staff
- 12,272 Posts
Do you have the template switcher plugin installed? How many documents do you have?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
It appeared that 9.6 was slower but in actual numbers it IS FASTER
i disabled the template switcher plugin and i still get 2-3 second php times.
there is currently about 400 documents and basically all of the pages use wayfinder and ditto.
At this point i dont think downgrading php to 5.1.6 will help
-
MODX Staff
- 12,272 Posts
Delete the Template Switcher completely.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me