We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20013
    • 37 Posts
    Hostgator shutdown site for high CPU abuse after upgrade to 1.0.14.
    I had to restore the old 1.0.10 for Hostgator to unblock the site.
      • 20413
      • 2,877 Posts
      - What PHP version
      - How many db queries // timing tags http://rtfm.modx.com/evolution/1.0/content-editing/modx-tags
      - Check error logs and modx mgr logs

      Great Stuff: https://www.apachefriends.org/index.html
        @hawproductions | http://mrhaw.com/

        Infograph: MODX Advanced Install in 7 steps:
        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
        • 9995
        • 1,613 Posts
        Just a wild guess, does this has anything to do with it:

        Large cache file SiteCache.idx.php ?
        http://forums.modx.com/thread/91574/high-parse-times
          Evolution user, I like the back-end speed and simplicity smiley
          • 21417
          • 486 Posts
          Howdy,

          Just confirming that I upgraded a site from 1.0.12 to 1.0.14 today and the Australian web host shut down that site too. Very frustrating and I did not know what was happening.

          After the upgrade the site was sooooooo slow.

          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 have reverted the site back to 1.0.12 and updated to the ajaxsearch from 1.0.14 for the security fix so the site is online again - and the website loading speed is fine yet again.

          Tomorrow I will move a copy of the database to a different domain and do speed testing etc to troubleshoot.
            Web design Adelaide
            http://gocreate.com.au
          • Could you then please post you Wayfinder call here and how many resources are retreived approximately with that call.
              • 21417
              • 486 Posts
              Sure thing, will do - thanks jako
                Web design Adelaide
                http://gocreate.com.au
                • 20013
                • 37 Posts
                Quote from: nickf08 at Jun 18, 2014, 08:55 AM
                Howdy,
                Just confirming that I upgraded a site from 1.0.12 to 1.0.14 today and the Australian web host shut down that site too. Very frustrating and I did not know what was happening.
                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 have reverted the site back to 1.0.12 and updated to the ajaxsearch from 1.0.14 for the security fix so the site is online again - and the website loading speed is fine yet again.

                Good to know I am not the only one with that problem.
                In the changelog Wayfinder was upgraded to "* [gitHub] update Wayfinder to 2.0.2." in version 1.0.13 so maybe something was changed which causes more CPU usage on shared servers.
                https://raw.githubusercontent.com/modxcms/evolution/v1.0.14/install/changelog.txt
                  • 21417
                  • 486 Posts
                  Hi Jako,

                  Here is the information.

                  I setup a site copy on a different server.

                  Whilst it is noticeably slow (its on the same shared server and I have loaded all the site files), the 1.0.14 site copy seems to load a lot quicker than the 1.0.14 actual site. In the actual site the page just times out or eventually loads if lucky - I can't provide actual 1.0.14 times on that site because its too slow and is interrupting their business so I had to revert it back to 1.0.12 which loads fine.

                  The home page settings are: Rich text, Tracking, Searchable, Cacheable, Empty cache

                  All pages of the site are slow, not just the home page. I am just using this page as the example.

                  1.0.12 home page of the site (I had to revert the upgrade back to 1.0.12):
                  0.4987 s - Query Time - Shows how long MODx took talking to the database
                  67 - Query Count -Shows how many database queries MODx made
                  0.6591 s - Parse Time - Shows how long MODx took to parse the page
                  1.1578 s - Total Time - Shows the total time taken to parse/ render the page
                  database - Source - Shows the source of page, whether is database or cache


                  wayfinder enabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
                  5.2706 s - Query Time - Shows how long MODx took talking to the database
                  67 - Query Count -Shows how many database queries MODx made
                  17.4226 s - Parse Time - Shows how long MODx took to parse the page
                  22.6931 s - Total Time - Shows the total time taken to parse/ render the page
                  database - Source - Shows the source of page, whether is database or cache


                  wayfinder disabled: testing the 1.0.14 home page of the site on a different domain on the same shared server:
                  0.4010 s - Query Time - Shows how long MODx took talking to the database
                  62 - Query Count -Shows how many database queries MODx made
                  0.4930 s - Parse Time - Shows how long MODx took to parse the page
                  0.8940 s - Total Time - Shows the total time taken to parse/ render the page
                  database - Source - Shows the source of page, whether is database or cache


                  It seems way quicker with wayfinder disabled.

                  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)
                    <div id="nav">
                  [[Wayfinder? &startId=`0` &level=`2` &firstClass=`first` &textOfLinks=`menutitle` &titleOfLinks=`pagetitle` &outerTpl=`main-menu-wrapper` &rowTpl=`main-menu-row` &innerRowTpl=`main-menu-row-inner` &excludeDocs=`1,4,5,7,8,6,157,169,1246,1247`]]
                   </div>
                  
                  main-menu-wrapper
                    <ul>
                  [+wf.wrapper+]
                    </ul>
                    
                  main-menu-row
                  <li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]"[+wf.attributes+]><span>[+wf.linktext+]</span></a>[+wf.wrapper+]</li>
                  
                  main-menu-row-inner
                  <li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]"[+wf.attributes+]>[+wf.linktext+]</a></li>
                  
                  Fat footer used which contains 5 single level wayfinder menus:
                  #1 [[Wayfinder? &startId=`1213` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &excludeDocs=`1245`]]
                  this retrieves 6 docs (1 start level, 5 second level)
                  
                  #2[[Wayfinder? &startId=`17` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex`]]
                  this retrieves 9 docs (1 start level, 8 second level)
                  
                  #3 [[Wayfinder? &startId=`14` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &excludeDocs=`157`]]
                  this retrieves 5 docs (1 start level, 4 second level)
                  
                  #4 [[Wayfinder? &startId=`93` &level=`2` &displayStart=`true` &startItemTpl=`footer-menu-starter` &outerTpl=`footer-menu-wrapper2` &rowTpl=`footer-menu-row` &sortBy=`menuindex`]]
                  this retrieves 7 docs (1 start level, 6 second level)
                  
                  #5 [[Wayfinder? &startId=`0` &level=`2` &ignoreHidden=`true` &outerTpl=`footer-menu-wrapper` &rowTpl=`footer-menu-row` &sortBy=`menuindex` &includeDocs=`1,4,1246,1247`]]
                  this retrieves 4 docs
                  
                  footer-menu-starter
                  <h2><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></h2>
                  [+wf.wrapper+]
                  
                  footer-menu-wrapper2
                  <ul>
                  [+wf.wrapper+]
                  </ul>
                  
                  footer-menu-wrapper
                  [+wf.wrapper+]
                  
                  footer-menu-row
                  <li><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></li>


                  On the actual site (1.0.12), the database size is 8.73MB and the siteCache.idx.php is 515.8KB

                  On the test site (1.0.14), the database size is 8.73MB and the siteCache.idx.php size is 511.9kb

                  Any ideas?

                  Thanks in advance.

                  If you want access to the test site Jako, please advise and I will pm you the details. [ed. note: nickf08 last edited this post 9 years, 10 months ago.]
                    Web design Adelaide
                    http://gocreate.com.au
                    • 21417
                    • 486 Posts
                    Quote from: modxjr1 at Jun 18, 2014, 11:01 PM
                    Good to know I am not the only one with that problem.
                    Me too modxjr1 - hopefully Jako can work his magic for us.

                    I have updated other 1.0.12 sites to 1.0.14 with 3 and 4 level mega menus and fat footers and have not noticed any speed issues - but this site having 1.0.14 problems has a lot more resources (up to 1250 I think) - not sure if that is relevant.
                      Web design Adelaide
                      http://gocreate.com.au
                      • 21417
                      • 486 Posts
                      I thought I'd try a speed test using the 1.0.12 Wayfinder - speed is back to normal...

                      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:
                      0.4761 s - Query Time - Shows how long MODx took talking to the database
                      68 - Query Count -Shows how many database queries MODx made
                      0.6654 s - Parse Time - Shows how long MODx took to parse the page
                      1.1415 s - Total Time - Shows the total time taken to parse/ render the page
                      database - Source - Shows the source of page, whether is database or cache


                      Having not heard back from jako here I raised a github issue:
                      https://github.com/modxcms/evolution/issues/282 [ed. note: nickf08 last edited this post 9 years, 10 months ago.]
                        Web design Adelaide
                        http://gocreate.com.au