We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38487
    • 15 Posts
    Site very sluggish. The 3500+ resource site had a traffic spike this weekend, 60K a day, and now users ~100 at a time. How can we optimize Evo site while we quickly prepare a Revo version?

    Web Server:
    * PHP version and how it's running (suexec, mod_php, CGI, etc.)
    PHP Version 5.3.2-1ubuntu4.11

    * Apache or IIS version
    Apache/2.2.14 (Ubuntu)

    * Operating System and version
    ubuntu4.11

    Database:
    * MySQL version
    5.1.41
    * List of any tables over 1MB in size


    MODx:
    * Version
    evo version 1.0.4 rev 6981

    * Any changes you've made
    With high publicity announcement, many more visitors to site than usual… current load ~100 visitors

    * Any snippets you're running on the page that is not working properly
    Whole site is slow. We made our commonly used snippets as included static php files

    * Any plugins you're running
    SEO Strict URLS
    CKeditor

    Browser/Client:
    * Browser name and version
    Safari 5.1.2
    * Operating System and version
    OSX 10.6.8

    Thank you,
    Lissie
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Hello,

      Could you tell us more about the snippets/modules in use, and the site structure in general? What is MODX doing before it serves the content basically
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 38487
        • 15 Posts
        Thank you.

        We are using:
        Ditto - secondary pages use Ultimate Parent
        Wayfinder
        Breadcrumbs

        We moved them to the includes this a.m. and deleted the comment code to make them lighter. We have temporarily disabled ajax search.

        plug-ins:
        SEO Strict URLS
        ckeditor

        Going work on making these external now.


        Everything was/is functioning until the spike, now we moved to a dedicated server(ubuntu) and it doesn't seem to be able to handle 60 concurrent users...

        If you or anyone can give us some insight we will be so thankful!!!
          • 1343 ☆ A M B ☆
          • 2,213 Posts
          Can you use a static menu instead of wayfinder, also are any of those extras uncached?
            Patrick | Server Wrangler
            About Me: Website | Tweets |  MODX Hosting
            • 38487
            • 15 Posts
            Breadcrumbs cached.

            Ditto sometimes cached sometimes uncached (I am gathering I should test these pages all as cached ditto calls).

            Wayfinder uncached.

            I think I will set up static menus tonight as a temp fix while we work on moving the site to Revolution.
              • 1343 ☆ A M B ☆
              • 2,213 Posts
              You should cache everything by default, unless it's necessary to have it uncached for some reason. The caching should help with the site performance. You should also consider implementing a service like CloudFlare, which should help reduce the direct traffic to the server as it serves content from it's CDN network when possible.
                Patrick | Server Wrangler
                About Me: Website | Tweets |  MODX Hosting
                • 38487
                • 15 Posts
                Thank you for your input, I really appreciate it. We are considering CloudFlare. At the moment we are enjoying some exported static html—and tomorrow Revolution!
                  • 1343 ☆ A M B ☆
                  • 2,213 Posts
                  Glad I could be of some assistance. If you have any questions regarding CloudFlare let me know. We are a hosting partner, so if I don't know the answer I can usually get one for you.

                  Oh, and please share how things go with Revolution!
                    Patrick | Server Wrangler
                    About Me: Website | Tweets |  MODX Hosting