Results 1 to 7 of 7

Thread: Slow server

  1. #1
    Join Date
    Jan 2006
    Posts
    582

    Slow server

    Hi, just moved VPS, gone from 256MB to 512MB (another comapny)

    Having slight trouble with it hanging for minutes at a time, yum update usually 1-2mins before anything starts, same with logging into root or plesk update, havnt set any sites up yet as just haults,

    Where would I start to fix this or diagnose the problem
    VPS & Dedi with -
    Clustered net (5/10), Rapidswitch (8/10) XtraHost (8/10), RackSRV (9/10) futurehosting (7/10)

  2. #2
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    Sounds like it could be a DNS resolve issue, try using the OpenDNS resolvers and see if you get better times...

    vi /etc/resolv.conf

    replace the current name servers with:

    nameserver 208.67.222.222
    nameserver 208.67.220.220

    If that doesn't fix it, then it may be something with the server being overloaded.

    Good luck to you.


  3. #3
    Join Date
    Jan 2006
    Posts
    582
    Hi

    Changed the DNS in resolve, no difference

    Is there a way to check if it over crowded, I only know my other 256Mb VPS is a hell of a lot better in speed

    Cheap int allways best..........
    VPS & Dedi with -
    Clustered net (5/10), Rapidswitch (8/10) XtraHost (8/10), RackSRV (9/10) futurehosting (7/10)

  4. #4
    Join Date
    Mar 2003
    Location
    United States
    Posts
    3,675
    Monitor the usage with top and see what's going on CPU/Memory wise. You can do that simply with the "top" command using shift + m for memory and shift + p for CPU usage. This will only lists your running procs, but you can see the CPU usage as a whole there and get an idea at least if this is what is causing the issue.

  5. #5
    Join Date
    Jan 2006
    Posts
    582
    Top looks ok,

    System Centos 4.4
    Platform Xen
    Hosting No site, only had server 2 days

    Code:
    top - 23:41:08 up 22 min,  1 user,  load average: 0.73, 0.23, 0.08
    Tasks:  37 total,   1 running,  36 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   1048576k total,   242300k used,   806276k free,        0k buffers
    Swap:        0k total,        0k used,        0k free,        0k cached
    VPS & Dedi with -
    Clustered net (5/10), Rapidswitch (8/10) XtraHost (8/10), RackSRV (9/10) futurehosting (7/10)

  6. #6
    Join Date
    Jan 2006
    Posts
    582

    *

    Try to log in root, 1 minute later im in

    Started a wget comand at 00:23:05

    [[email protected] httpdocs]# wget http://66.45.233.117/10M.bin
    --00:24:01-- http://66.45.233.117/10M.bin
    => `10M.bin'
    Connecting to 66.45.233.117:80... failed: Connection timed out.
    Retrying.
    --00:27:11-- http://66.45.233.117/10M.bin
    (try: 2) => `10M.bin'
    Connecting to 66.45.233.117:80... failed: Connection timed out.
    Retrying.
    --00:30:22-- http://66.45.233.117/10M.bin
    (try: 3) => `10M.bin'
    Connecting to 66.45.233.117:80...


    Its like this on alot, some times works sometime does'nt

    The link exists as I downloaded to desktop fine
    VPS & Dedi with -
    Clustered net (5/10), Rapidswitch (8/10) XtraHost (8/10), RackSRV (9/10) futurehosting (7/10)

  7. #7
    Join Date
    Mar 2005
    Location
    Labrador, Canada
    Posts
    951
    Slow SSH login will happen if the VPS hostname does not resolve. Add an A record for the hostname to the domain's DNS record and give it a chance to propagate.

    For a quick fix you could add an entry to the hosts file, e.g.,

    192.168.1.1 myvps.domain.com

    Add it to the hosts file on the VPS (/etc/hosts) and on your local workstation -- something like C:\Windows\system32\drivers\etc\hosts on Windows XP.

Posting Permissions

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