DISQUS

My Thoughts: WordPress being slow, a DNS problem

  • Austin · 1 year ago
    Sometimes this happens because the server has been chrooted, and the chroot doesn't have DNS tools. It might help a clueless host to suggest that they try to install the necessary libraries within the chroot so that one can ping a site as the chrooted server user---if a ping works, usually that means domain resolution will too.
  • Peter · 1 year ago
    @Austin:
    Good point, unfortunately in this case the server can do successful DNS queries to any other site not on the server, like cnn.com
  • Jon · 1 year ago
    the first 2 code blocks appear empty for me...
  • Peter · 1 year ago
    @Jon

    I'm sorry Jon, this sometimes happens when I edit a post, the plugin I use to show syntax doesn't do well in the WordPress editor. It's fixed now
  • Istoselidon · 1 year ago
    Great article and informativ. I have this bookmarked. Thanks
  • ananyah · 1 year ago
    I'm having this current problem, my forum (php) works no problem but accessing my blog takes FOREVER to load. I did the cron-test and it came back sucessful therefore it's probably not a DNS problem.

    I thought it may be a problem with my theme as I could access the dashboard no problem (which has now decided to load slow as well). But I deactivated the plugins, changed the theme to the default, unpublished all the posts too, and still loading slow.

    My hosting provider is having internet problems right now due to a cable breaking in the sea, so he can't do anything right now to help me!
  • ananyah · 1 year ago
    update: it seems to be working now, 20 mins after I posted my comment!
  • Peter · 1 year ago
    Yeah I just checked and around 4 secs to load teh page isn't that bad :)
  • musadsdsd · 1 year ago
    Good point, unfortunately in this case the server can do successful DNS queries to any other site not on the server, like cnn.com
  • donnie · 11 months ago
    4 second? its not bad


    Yours sincerely,
    donnie
    http://donnieproperties.blogspot.com
  • best price · 11 months ago
    I never get any issue but I found something slow after install wp 2.7 because it's update automatically.

    But that's ok for wordpress performance.
  • oyunox.com · 11 months ago
    bende oyunox.com da kullanmak istiyorum ama bu değişkeni çalıştıramadım.


    $cron_url = get_option( 'siteurl' ) . '/wp-cron.php';
    $parts = parse_url( $cron_url );
    $parts['host'] = $_SERVER['SERVER_ADDR'];
  • FerhatAKIN · 10 months ago
    Thanks For Author ;)
  • Webitec · 10 months ago
    Hello! Wery cool!!!
  • domain · 10 months ago
    Thanks for providing the above solution. This seem not to work for me though, eventually my wordpress stopped runing
  • endianx · 10 months ago
    Wow! You nailed it. Put an entry in my hosts file and everything is fine. Thank you so much.
  • Aleks · 9 months ago
    Thanks For Author
  • Zoran · 9 months ago
    Hello,
    Can i take a one small pic from your blog?

    Thanks
    Zoran
  • Business Network · 7 months ago
    Thank you for this post. It was helpful in determining whether it was a DNS issue of not and it is not. I just cannot figure out why my personal blog is loading so slowly.
  • Peter · 7 months ago
    What is your personal blog, I can see if I can be of assistance.
  • ben · 7 months ago
    Hi,

    My site loads pretty slow and I think it's because it's quite graphic intensive (needs to be for a fashion blog). I have checked my dns and it is not a problem with that (i tried the cron-test) so wondered if you could point me in the direction of what to change on my blog?

    I have installed firebug but it hasn't really broken down exactly what is causing the lag (around 8 seconds to load the homepage), and I do not tend to use many plugins on there. Any help would be great on the url that came with this comment.
  • Peter · 7 months ago
    The time it takes from start to finish for WordPress to build your page, this is just running the PHP code is about 6 secs.
    I think this is rather long. It could be several factors:
    - The CPU of the host is overloaded.
    - One of your plugins is acting up.
    - You ran an awfull lot of plugins.

    Shoot me an email [my name]@avirtualhome.com if you want to discuss this in more detail. Replace [my name] with peter.
  • Anders · 1 month ago
    Hey Peter,

    Fantastic guide you've written! You're very good at communicating this rather complicated issue (I think;)

    I's administering a small server where I also have my blog. I have the symptoms that you're describing, however I don't get excactly the same error that you mention:
    http://munk-nielsen.dk/wp-cron.php

    It says "unable to connect to munk-nielsen.dk:80". This is strange since I'm able to access non-wordpress websites on the server from the server itself (using linux terminal http client: elinks). Therefore, it must be able to resolve its own address, but something still fails.

    We recently changed the IP adress of the server and I suspect that I've forgotten to update something somewhere... It's running debian sarge.

    Any help would be appreciated!