How to see what is slowing down my shared hosting

Discussion in 'Web Hosting' started by scifin, Apr 4, 2007.

  1. #1
    Ok. I am using a 1and1 linux shared hosting (boo, hiss - I know - plan to move to dedicated in a couple of months)

    The server is ULTRA slow. We are talking page load times of 15 seconds, it is like being up on dial up again.

    The server was running fine - untill a week or so ago. I have made few changes.

    I am worried that there is a php script in a loop or something - I have looked at everything I can think of.

    I have ssh access and I have tried running 'top' but this doesn't run for me (maybe as I am on shared hosting).

    Yes it could be another account on the same server - I have asked the host to look into this BUT I want to do everything I can in order to speed these pages back up.

    Thank you

    Brian
     
    scifin, Apr 4, 2007 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Echo the microtime at the top of the script and the bottom and in a few places in between. Then you can see which bits are taking longest.
     
    mad4, Apr 4, 2007 IP
  3. scifin

    scifin Peon

    Messages:
    147
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry I failed to point out that there are a dozen or so sites with 100s of scripts running
     
    scifin, Apr 4, 2007 IP
  4. DaiTengu

    DaiTengu Active Member

    Messages:
    49
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    75
    #4
    The best way to see if it's you or not, is to rollback the changes you made to your site. If the site remains slow, then someone else on the server is hogging all the resources.
     
    DaiTengu, Apr 4, 2007 IP