-
Notifications
You must be signed in to change notification settings - Fork 205
website hanging or very slow after upgrade from 1.0.12 to 1.0.14 #282
Comments
Maybe it is a memory issue. Could you first try to comment out this lines: https://github.com/modxcms/evolution/blob/bugfix/assets/snippets/wayfinder/wayfinder.inc.php#L220-L223 |
Sure thing, thanks Jako. I commented out those lines in Wayfinder 2.0.2 and renabled it. Results are much better...
Please advise if you need any more testing. |
Ok. Try to exclude only the content field …
|
Thanks Jako. I tried that updated code to exclude only the content field. For each test, I cleared the cache in the manager and pressed shift button and refresh in the front end page. The results vary quite a lot - they are considerably slower than your first suggestion (commenting out the lines). test 1 on the different domain on the same shared server:
test 2 on the different domain on the same shared server:
test 3 on the different domain on the same shared server:
test 4 on the different domain on the same shared server:
test 5 on the different domain on the same shared server:
test 6 on the different domain on the same shared server:
Thanks Jako. |
Duplicate of #226 |
Please test the fix: 102fe60 |
Thank you Jako. That seems to have done the trick! Wonderful work. test 1 on the different domain on the same shared server - 1.0.14 with modified Wayfinder 2.0.2: test 2 on the different domain on the same shared server - 1.0.14 with modified Wayfinder 2.0.2: test 1 on actual site - 1.0.14 with Wayfinder 2.0.3 test 2 on actual site - 1.0.14 with Wayfinder 2.0.3 Speed looks good to me. Thanks for addressing this so quickly Jako. |
[F] Fix QM+ toolbar css
Hello,
Further to this post: http://forums.modx.com/thread/91469/hostgator-shutdown-site-for-high-cpu-abuse-after-upgrade-to-1-0-14, I also had a hosting account suspended by the web host because a recently upgraded 1.0.14 site was hanging (it was either indefintetly loading until the browser's timeout error was returned, or eventually loading after a very long time).
I think this may be related to Wayfinder.
The site was upgraded from 1.0.12 to 1.0.14.
Per a github issue I read about for wayfinder, I disabled wayfinder and the site was fast again. All the levels were set in the wayfinder menus and most were only to 1 or 2 so not sure why it was a problem.
I reverted the actual site back to 1.0.12 - and the website loading speed is fine yet again.
So I setup a site copy on a different server for testing.
I am using just the home page for the test results...
default wayfinder (2.0.2) enabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
default wayfinder (2.0.2) disabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
It seems way quicker with wayfinder 2.0.2 disabled.
wayfinder 2.0.1 (distributed with 1.0.12) enabled instead of wayfinder 2.0.2 (distributed with 1.0.14) - testing the 1.0.14 home page of the site on a different domain on the same shared server:
And seems fine with wayfinder 2.0.1 enabled.
Nothing complex is happening with Wayfinder, and speed is fine in 1.0.12. These are the Wayfinder calls on the page...
Main menu:
this is a drop down menu - level 1 is top level, second level is the drop down
this retrieves 55 docs (10 top level, 45 second level)
main-menu-wrapper:
main-menu-row:
main-menu-row-inner:
Fat footer used which contains 5 single level wayfinder menus:
1:
this retrieves 6 docs (1 start level, 5 second level)
2:
this retrieves 9 docs (1 start level, 8 second level)
3:
this retrieves 5 docs (1 start level, 4 second level)
4:
this retrieves 7 docs (1 start level, 6 second level)
5:
this retrieves 4 docs
footer-menu-starter:
footer-menu-wrapper2:
footer-menu-wrapper:
footer-menu-row:
Any ideas?
Thanks in advance.
The text was updated successfully, but these errors were encountered: