The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slow Site Loading (yet it's fast on another server)

Discussion in 'General Discussion' started by Laeelin, Sep 12, 2007.

  1. Laeelin

    Laeelin Member

    Joined:
    Jan 17, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    We have 2 servers.

    one for development, and one for deployment.

    dev.oursite.com is an exact copy.

    The home page loads in 1.5 seconds on that server.

    The same page (just HTML with a few images and a couple javascript files) loads in 4.5 seconds on the other server (our live server)

    When I check the server status on the live server I see:
    Server Load 0.38 (2 cpus)
    Memory Used 36.1 %
    Swap Used 0.00 %
    Total Bandwidth Usage 5.54 Gig

    Where could the bottleneck be? (note: the same hosting company hosts both sites)
    Anything else I should check?

    Thanks
    David
     
  2. cPanelBilly

    cPanelBilly Guest

    If you dont have root on your server you need to contact your hosting company. They could be using something to throttle you or apache is at max clients or any number of other possibilities.
     
  3. Laeelin

    Laeelin Member

    Joined:
    Jan 17, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I do have root access.

    Apache
    .91 requests/sec - 6.6 kB/second - 7.2 kB/request
    6 requests currently being processed, 4 idle servers

    WK_KKK_K__......................................................
    ................................................................

    <clip> 30 more lines of "." removed </clip>

    Scoreboard Key:
    "_" Waiting for Connection, "S" Starting up, "R" Reading Request,
    "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
    "L" Logging, "G" Gracefully finishing, "." Open slot with no current process


    Any other suggestions?
    Thanks
    David
     
  4. cPanelBilly

    cPanelBilly Guest

    Check your resolvers on the server... If you are doing rdns lookups for some reason and the nameservers are slow it could be causing it. Other than that you really need to strace the process see whats taking the extra time.
     
Loading...

Share This Page