Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 9 of 9

This is a discussion on Wordpress Loads Slow in the VPS & Dedicated forum
I noticed about 3 days ago that wordpress slows very slow (like 5 seconds) when you first visit it, but after you have visited it, ...

  1. #1
    JPC Member
    Join Date
    Aug 2006
    Posts
    2

    Wordpress Loads Slow

    I noticed about 3 days ago that wordpress slows very slow (like 5 seconds) when you first visit it, but after you have visited it, other pages loads fine.
    example:
    Code:
    http://sweet-pupz.pinoynets.com/
    http://k.pinoynets.com/
    http://rubber.pinoynets.com/
    I asked the support and they said:
    2006-08-17 / 23:10:25

    Hi,
    I have checked the above URL by openning at my end and it around 4 to 5 seconds for these URLs to get loaded for the first time. But this dont appear to be related to any load issue on your vps as I have checked and it do not have any performace problems , but the main templates appear to take couple of seconds before get loading and also all of them are taking less than five seconds to load.
    But, I have tested the templates on another server and it loads very fast. So I asked again what may cause this problem. Support said:
    Hi,

    Sorry I donot have any exact idea why you are having this problem.
    So what do you think guys?

  2. #2
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Filipino, eh? Maybe it's because you're so far away...

    They pop right up for me!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    It kinda sounds like it could be a DNS resolution problem. The first time you visit a site, your local computer has to do a DNS lookup to match the domain name to an IP address. The computer remembers this address for a while (dropping it after no new requests to that name have been made in a period of time), so subsequent page requests do not require the DNS lookup.

    Are you running your own DNS? You might want to start investigating things there.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    JPC Member
    Join Date
    Aug 2006
    Posts
    2
    Quote Originally Posted by jason
    It kinda sounds like it could be a DNS resolution problem. The first time you visit a site, your local computer has to do a DNS lookup to match the domain name to an IP address. The computer remembers this address for a while (dropping it after no new requests to that name have been made in a period of time), so subsequent page requests do not require the DNS lookup.

    Are you running your own DNS? You might want to start investigating things there.

    --Jason
    Yup, im running my own DNS. But where do you think is the problem? The registrar(godaddy) or my server?

  5. #5
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Registrars (like GoDaddy in your case) are only responsible for getting your server info into the top-level DNS servers. Once they do that their job is done. Requests don't actually go through the registrar. As long as you've registered your DNS servers with GoDaddy then you should be all set.

    That said, since the entire global DNS system seems to be up and running without significant problems, I'd guess the problem lies somewhere in your setup.

    Try doing some nslookups on your domain name to see if you can isolate problems. Most OS's have the nslooup command availble through their command line. Open a command line window and type

    Code:
    nslookup
    You should see a new prompt (on widnows its ">," but it may vary on other systems. At that prompt type your domain name. Your ISP's nameservers will be queried for the domain name. If it takes more than a second or two to get a response back, or if you don't get a valid response, you may have a problem.

    Now change your server so that you bounce queries off of your own DNS:
    Code:
    server yourdns.yourdomain.com
    Again, if it takes a long time for anything to happen here (the system is trying to resolve your dns server's IP from your ISP default server), it may indicate a problem. Upon success you should see something like:
    Code:
    Default server: dns.yourdomain.com
    Address: 123.45.67.89
    If it doesn't resolve, try issuing the "server" command again with your DNS server's IP address instead of its name.

    Now type your domain name in again. If this time the response is faster, I woulspeculate that there may be a problem with your server responding to requests from other servers. If there is a delay here as well then it may be a config problem with the server.

    Its been a while since I've played with DNS servers, so I can't really help you beyond troubleshooting (at least not with doing some research myself). You should be able to get help from support though, if you open a ticket.

    Also check www.dnsreport.com to see if they report any anomalies on your zone (domain). That's a good first place to check that things aren't right, because their report is pretty comprehensive.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  6. #6
    JPC Member
    Join Date
    Jul 2006
    Posts
    16

    Slow loading

    Hi,

    I have a Joomla! and Coppermine gallery running on my site http://www.allau.dk. It also seems to be loading very slow (> 10 seconds) when you access the site for the first time in a while.

    Could anyone please provide me with feed back on how it loads at your end? The site is in Danish and the DNS is hosted at a Danish DNS server.

    I tried to do the nslookup thing with my DNS server (server ns1.gratisdns.dk) and the first time I did I got this reply:

    Code:
    > server ns1.gratisdns.dk
    Default Server:  ns1.gratisdns.dk
    Address:  193.88.71.203
    
    > allau.dk
    Server:  ns1.gratisdns.dk
    Address:  193.88.71.203
    
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to ns1.gratisdns.dk timed-out
    On my subsequent requests I received the correct IP address within miliseconds.

    What can I do to correct this problem? Could this be the reason why my site is loading very slow on first time accesses?

    Thanks for all your help.

  7. #7
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    janjalani,
    Your sites are loading fine for me now. Are you still seeing problems?

    allanpro,
    You site is very fast for me as well.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  8. #8
    JPC Member
    Join Date
    Sep 2006
    Posts
    9
    I just tried this site:

    http://k.pinoynets.com/

    And it is really slow.

    If you look WAY down on the page there is a warning:

    Warning: readfile(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/kathrin/public_html/wp-content/themes/TheUsed/index.php on line 26
    This do indicate that there is a DNS problem and the problem is missing "root hints" , in WHM/Cpanel you setup a "Resolver" another dns server that are used for root hints, so my guess is that you poked around with the Resolver settings ?

    Anyway make a TT and get support to setup the correct Resolver settings and i think you are up and running again.

    If you know the correct Resolver settings yourself, just login to WHM and click "Resolver configuration" ( you find it under Networking setup ). After you have made the changes, restart the DNS server and you should be up and running!

  9. #9
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Have you tried restarting Apache?
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •