WordPress.org

Ready to get started?Download WordPress

Forums

[closed] WordPress 3.6 and 3.6.1 so so slow on Dreamhost, anyone else? (38 posts)

  1. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi
    I use 1click install of WordPress on Dreamhost shared hosting. My site http://www.robotguide.com/ has been running increasingly slowly for a few months, both the site and the admin backend, it was taking about 5 seconds to load either. I contacted their support twice and was told everything was normal. It's only a small site and I don't get too many visitors so far. Less now!

    I upgraded to WordPress 3.6 and 3.6.1 the other day and both the site and admin take a minimum of 15-20 seconds to load any page! I have wasted nearly 3 days trying to find out why and as you can imagine having to wait 15 or 20 seconds everytime I change something to test is really frustrating, never mind lost work and site users!

    Verification of results:
    - connected through a UK VPN to check from a different location, still slow.
    - used a variety of browsers, slow.
    - other people also reporting site as slow.
    - http://bytecheck.com/ reports 15-20s for first byte
    - http://tools.pingdom.com/ typically 17s to laod site
    - website inspector reports 20s for the network request and then a few seconds to render the page
    - connecting to http://www.robotguide.com/readme.html is near instant, so it's something to do with WordPress and the Dreamhost servers I thing!

    What I have tried:
    - disabled all plugins, still 15-20s
    - deleted all plugins, no effect
    - followed all the dreamhost faqs on their site inc database optimisation, checking memory and checking database load times, no effect
    - optimised the database. no effect
    - deleted the whole site and did a clean install of wordpress, even with a clean install and an 'empty' database the site and admin were still about 10seconds
    - using a cache plugin like W3 total cache speeds up site loading, but working in the admin is still awful.
    - created a site on another host and imported my site, and it loaded in a few seconds!
    - hours of googling and trying stuff.

    In essence the site seems to render quickly once it starts, but takes 15-20seconds to get to that point. As the site loads quickly on another host it seems to be something Dreamhost are doing.

    I don't really want to move to another host, but this is intolerable. I've posted on their support but thought I would ask here too given the last two times I have asked for help with this issue on Dreamhost support have not been useful!

    Any ideas or similar experience?

    Thanks in advance, Mike

  2. esmi
    Forum Moderator
    Posted 10 months ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi esmi
    Thanks for the super swift reply.

    yes, have deactivated and deleted all plugins
    yes, tried twenty-ten and twenty-thirteen themes

    Any other ideas?

  4. mikejmcfarlane
    Member
    Posted 10 months ago #

    It's actually all running so slowly I can't even re-authorise Jetpack without a timeout! lol

  5. Media X
    Member
    Posted 10 months ago #

    http://www.roboguide.com/ is on sale. Where's the site ?

  6. mikejmcfarlane
    Member
    Posted 10 months ago #

    Sorry, typo, so tired now:-/

    The site is http://www.robotguide.com

  7. Media X
    Member
    Posted 10 months ago #

    What's in your htaccess?

  8. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi Media X, thanks for reply, the .htaccess in the 'root' of the install is:

    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN W3TC Page Cache core
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteCond %{HTTP:Accept-Encoding} gzip
        RewriteRule .* - [E=W3TC_ENC:_gzip]
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{REQUEST_URI} \/$
        RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
        RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" -f
        RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}" [L]
    </IfModule>
    # END W3TC Page Cache core
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  9. Media X
    Member
    Posted 10 months ago #

    Please, temporarily rename it to .htaccess2

  10. mikejmcfarlane
    Member
    Posted 10 months ago #

    ok, done.

  11. Media X
    Member
    Posted 10 months ago #

    Nope. 404 Errors. Please, rename it back.
    Can we, please, see your site with the default theme and with all plugins de-activated ?

  12. mikejmcfarlane
    Member
    Posted 10 months ago #

    Yes, will take a few minutes, will post back when done.

    Thank you for helping:-)

  13. mikejmcfarlane
    Member
    Posted 10 months ago #

    9 minutes to disable 13 plugins!

    ok, all plugins disabled and using twenty thirteen theme.

  14. esmi
    Forum Moderator
    Posted 10 months ago #

    Any improvement in speed?

  15. mikejmcfarlane
    Member
    Posted 10 months ago #

    Fraid not, I measure approx 20seconds for site to load, http://tools.pingdom.com/ gives 22.77s

  16. Media X
    Member
    Posted 10 months ago #

    Did you check memory and CPU stats on your server? Any bad news there? Bacause WP without plugins activated and with the default theme CANNOT load this long. No way!

  17. esmi
    Forum Moderator
    Posted 10 months ago #

    My thoughts exactly...

  18. DH_DEE
    Member
    Posted 10 months ago #

    Mikejmcfarlane,
    Just checked out your server and it looks like there is a bit of a high load, which is most likely the cause of the latency you are experiencing. I have advised an admin who is working in decreasing the load. Is this an ongoing issue you are having?
    Let me know!
    Thanks,
    Daniela J.
    DreamHost Staff

  19. mikejmcfarlane
    Member
    Posted 10 months ago #

    I tried a totally clean install wordpress install with an new database and it was still slow!

    I can't find any stats in the Dreamhost control panel. Any ideas?

    But I think you might be onto something about memory. I tried a memory plugin which reported approx 40MB peak usage. I googled 'dreamhost shared hosting memory limit' and read through a few results. I couldn't find a hard number, but 90-150MB for shared hosting seemed to come up a few times. Also I am running 4 domains in my shared host, so it is possible that is what is killing me if they are all using memory. I'm going to try backup them all up and remove a couple and see what happens.

    Will try that later and report back, thanks again!

  20. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi DH_DEE

    Thanks, yes, it is an ongoing issue for months but got significantly worse with 3.6. I have raised support tickets before and another now.

    High load, I don't understand, can you explain reasons that might be please. I don't have a lot of visitors. Do you think it might be too many domains on a single shared host?

    Thanks all:-)

  21. mikejmcfarlane
    Member
    Posted 10 months ago #

    Thinking back, it probably started getting bad when I added the second two domains!

  22. DH_DEE
    Member
    Posted 10 months ago #

    Mikejmcfarlane,
    Hello! Ok, I just noticed your server is located in our West Coast Data Centers. I would like to offer a move to our East Coast Data Center which will bring you closer to home, which will improve the slowness! Just let me know what time would be best for you for us to migrate your web and MySQL servers. We usually recommend a middle of the night move for high traffic sites.
    Let me know If that is something you would like to do!
    Thanks,
    Daniela J.
    DreamHost Staff

  23. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi Daniela
    Thanks, that sounds like it would be worth a try.
    If you could do that tonight, after 10GMT it would be great.

  24. DH_DEE
    Member
    Posted 10 months ago #

    Mike,
    You're welcome! :) Your web/MySQL server migration has been scheduled for 10pm GMT! If you have any other questions or comments please don't hesitate to ask!
    You can also contact support via twitter @DreamHostCare
    Cheers!
    Daniela J.
    DreamHost Staff

  25. Sjourney
    Member
    Posted 10 months ago #

    That's pretty cool to see a rep. go this far to make that happen.
    Cheers for good customer support

  26. mikejmcfarlane
    Member
    Posted 10 months ago #

    I got a nice email from Dreamhost too, so yes, really good service:-)

    Will update tomorrow.

  27. mikejmcfarlane
    Member
    Posted 10 months ago #

    Hi Daniela
    It looks like am still on the same server and the site speed is the same. Did the move not happen last night, or did I mis-understand and it was 22:00 GMT on an un-specified date?
    Thanks

  28. esmi
    Forum Moderator
    Posted 10 months ago #

    May I suggest that you now try contacting Dreamhost directly rather than through these forums?

  29. mikejmcfarlane
    Member
    Posted 10 months ago #

    @esmi sure, good idea!

    I've been doing some other tests, just to keep people updated.

    1. Deleting an unused wordpress site that was a landing page. There are now two wordpress blogs and one Expression Engine site. No noticeable effect.

    2. Started turning off plugins in the other wordpress blog that are on this shared host. Generally no effect until I turned off Antivirus plugin (http://wpantivirus.com/) and there was a noticeable speed up in site and admin page loading on all sites! Still about 10 seconds to load basic page ie see something on screen.

    3. Had a look at the output from http://tools.pingdom.com/ I use a lot of embedded YouTube and Kickstarter code and these really seem to slow the overall page load time, the basic wordpress files seem to load in about 10 seconds, but can still be another 10 to finish loading the whole page.

    Hmm!

  30. Media X
    Member
    Posted 10 months ago #

    Go to Settings → Reading and change the Blog pages show at most [X] posts to, for example, 2 posts.
    This way we'll exclude the latency caused by loading videos.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags