one domain is running slow

Discussion in 'Site & Server Administration' started by indyguidedotinfo, Jun 4, 2008.

  1. #1
    I have 4 domains on one VPS. every site is working fine except one .com is very slow. I am not able to tell if it is Mysql, scripts or what ever. the server is running on centos linux . are there server logs that might explain why one domain is slow?

    Thanks
     
    indyguidedotinfo, Jun 4, 2008 IP
  2. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #2
    yes it may be mysql...

    once I transferred one of my sites to a vps and but I did n't change the mysql settings in the script (username and password) ,So it took a hell lot of time to load in browser as it was attempting to establish a connection with my another server....

    so check your mysql settings if you have recently transferred your host...
     
    Freewebspace, Jun 4, 2008 IP
  3. indyguidedotinfo

    indyguidedotinfo Notable Member

    Messages:
    3,254
    Likes Received:
    202
    Best Answers:
    0
    Trophy Points:
    245
    #3
    no this domain was ' born ' on this server. is tehre a way to repair or diagnose problems with mysql ?
     
    indyguidedotinfo, Jun 4, 2008 IP
  4. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You may check mysql performance with THIS

    It may be other things on the server as well, not just mysql to slow things down, so you may have to review each component, validate performance to arrive at a proper root cause, before you think of applying a fix.
     
    pubdomainshost.com, Jun 4, 2008 IP
  5. indyguidedotinfo

    indyguidedotinfo Notable Member

    Messages:
    3,254
    Likes Received:
    202
    Best Answers:
    0
    Trophy Points:
    245
    #5
    thanks guys i figured out what the problem was.

    when i stopped and started my network i saw this message
    SIOCADDRT: Network is unreachable

    i google it and it said to take the gateway out of

    /etc/sysconfig/network

    i did that , rebooted the server and it works fast as can be now!
     
    indyguidedotinfo, Jun 4, 2008 IP