WordPress.org

Forums

Server Load High (30 posts)

  1. beej30
    Member
    Posted 4 years ago #

    I am experiencing a large server load when I move a high traffic domain name to my wordpress multisite website. I have a new website set up on WordPress under test domain name, and everything works fine. But once I want to move the high traffic domain name to this new website, the server load goes through the roof. So I'm trying to figure out why it works fine for the test domain, and then doesn't work so fine for the domain I want to use.

    I've removed all the unnecessary files such as extra fonts and plugins as well.

    Any help would be great.

  2. Tim Moore
    Moderator
    Posted 4 years ago #

    You should consider installing a cache plugin (WP Super Cache or W3 Total Cache). There are also some server-side things you can do, assuming you are running a VPS (which is you have a high traffic site you probably should be). http://codex.wordpress.org/High_Traffic_Tips_For_WordPress

  3. So I'm trying to figure out why it works fine for the test domain, and then doesn't work so fine for the domain I want to use.

    At a guess, your TEST domain isn't actually receiving the high traffic. The only way it would is if the high traffic domain is actually pointing it's live traffic to your test domain.

  4. high traffic = large server load

    So yes.. .that's to be expected. Do any caching? What kind of server are you on? RAM?

  5. beej30
    Member
    Posted 4 years ago #

    Thanks for the feedback. I installed the Super Cache plugin above, but it broke all my redirects that I was using. I am also only seeing about 700-1200 visits a day for this website. Is that considered high traffic volume?

  6. Medium/High. If your server and site aren't optimized for the traffic, then yes, it can cause problems.

    I installed the Super Cache plugin above, but it broke all my redirects that I was using.

    .htaccess redirects?

  7. beej30
    Member
    Posted 4 years ago #

    I'm using a Redirect plugin because we have so many of them.

  8. How many is so many?

    You may want to reconsider and do it manually via .htaccess (depending on the type of redirect, you may be able to use wildcards). That may also help speed things up, by changing processing to BEFORE WP ahas to do it.

  9. beej30
    Member
    Posted 4 years ago #

    25 total. It's a redirection plugin. So maybe this plugin has a conflict with the cache plugin I was trying to use? Thanks for your help. I'll try anything to get this load down.

  10. 25 isn't 'so many' :)

    I'd switch 'em to manual .htaccess, remove the plugin, and then try Super Cache again.

  11. beej30
    Member
    Posted 4 years ago #

    Ok, thanks. I'm actually using W3 Total Cache, not Super Cache...and it's only the Portfolio posts that get broken when I 'activate' W3 Total Cache. All other pages and redirects work fine. Strange.

  12. I don't know what you mean by 'Portfolio' posts. Are these a Custom Post Type you made?

    Also, while I love W3TC, it's a hella-complex app and involves a lot of serious understanding to use correctly.

  13. beej30
    Member
    Posted 4 years ago #

    Yes, custom posts. I discarded the W3TC and added in the Super Cache. Hopefully this will help out. I've found a few load test sites to try and mimic the traffic, do you have any you could recommend or know of?

  14. beej30
    Member
    Posted 4 years ago #

    I have been load testing this new wordpress website and it continues to bring down my site, even on a new server. I've removed every plugin, a facebook iframe module, installed on a new server at Rackspace, had them install Total Cache, and it's still not working right. I just have no idea what it could be. Any further recommendations or things to try?

    Thanks.

  15. What SERVER side caching did they do?

    APC? eAccellerator?

  16. Or you have some runaway queries with either your custom posts, your theme, or some section you've forgotten to mention.

    like putting your own feed in the rss widget, for example.

  17. beej30
    Member
    Posted 4 years ago #

    I believe it was memcache that they used on the server.

    I did have an rss feed on the homepage, using the plugin continuous rss scrolling. But no where else on the website.

  18. Was it your own site's RSS feed, though?

    And if you have not yet, turn that off. And switch to the default Twenty Ten theme :)

  19. beej30
    Member
    Posted 4 years ago #

    http://feeds2.feedburner.com/NWEFeed

    Unfortunately, I can't get accurate test loading by switching over the domain name. But I have been load testing using loadimpact.com. I have removed the RSS Feed in one of my tests and it still crashed at about 75 concurrent users.

  20. beej30
    Member
    Posted 4 years ago #

    I did notice that the table for wp_postmeta is almost at 6000 records. That sounds like alot?

  21. No. Not really (Mine is at 3000). If you wanted to wipe out your revisions, it'd trim it down.

    Server load is high generally because something's causing too much 'work.' Yeah, I'm captain obvious there ;) If nothing, from trimming plugins to changing themes, works, then you have to sit and look at your server. Make sure PHP is installed in a way that works. Optimize your httpd.conf for WP. Master TOP. That kind of thing.

  22. beej30
    Member
    Posted 4 years ago #

    So I created a new wordpress site and left it with the TwentyTen theme, ran the same Load Test, and it crapped out at the same point, 60 clients or users. So this is now really confusing me about where to look, or even if this Load tester is even accurate.

  23. or even if this Load tester is even accurate.

    always a possibility. we all answered on the assumption this was a live server. :)

    What's the specs? How much RAM?

  24. Which load tester are you using too? Is it public something we can share?

    Cause I use WP multisite on a VPS that gets hammered and it's only crashed when I'm dumb enough to upload very large pictures and publicize them without caching first ;)

  25. beej30
    Member
    Posted 4 years ago #

    I'm using Loadimpact.com. I can

    Server is 40 GB of Disk Space, 1024 RAM, with a load balancer so a duplicate server to share the load. Plus the DB's are on their own server as well.

    I can share the results, see below. Testing is on my rackspace server, and is the same website you would see if I switched over our main domain name to this IP.

    1. Test with theme TwentyTen as if you set it up for the first time.
    http://tinyurl.com/3bk9geo

    2. Test with no plugins, using my existing site seen here: http://50.56.52.252/
    http://tinyurl.com/3scgu8x

    3. Test with all plugins installed, using my existing site here: http://50.56.52.252/
    http://tinyurl.com/68cpypk

  26. Interesting. I ran a couple tests on my boxes and the loadimpact tests seem to contradict my own monitors. How odd. (Loadimpact says my site will pop out at 20 users, but I've had a couple hundred at once and been okay). I'm going to poke around on this some more.

  27. beej30
    Member
    Posted 4 years ago #

    That is interesting. Let me know if you come across anything.

    Thanks.

  28. Weird. it says my beefy dedicated box running nginx will take 15s to serve 30 clients. And I know that's not right.

  29. See? That's what I mean! Also, the bugger spiked my memory usage through the roof! I think it's running a REALLY dirty check that isn't right. I may appropriate my office tools and test it on a 'random external site'.

  30. beej30
    Member
    Posted 4 years ago #

    Ah, still working away at this one. So next step after some testing is we are changing our server config on Rackspace from Ubuntu to Redhat.

Topic Closed

This topic has been closed to new replies.

About this Topic