Results 1 to 3 of 3
  1. #1

    VPS questions...

    Hi,

    I've just moved from a hosting company to a VPS service, and I am seeking general suggestions and opinions on a few things, rather than making it specific to my the companies I use.

    I moved from a shared hosting service where load average is often 3 or of that order. The server response is marginally acceptable... pages of popular CMS show up with a few moments of delay. So I moved to a VPS with a decent plan, certainly more memory and disk than I needed. (From the experience when I run my own server before switching to the hosting company, when I was using a single PIII 500MHz for a web server.)

    The server response was superb for the first few days, even when the load was quite high with background tasks. Then when search engine crawlers rushed in, the load average went from 0.1 to 1.0 constantly, with unacceptable server response time. Googling for 2 seconds, I found suspected cause of high CPU usage and disabled a function and also adjusted robots.txt to lighten the load. It lightened, and the load is usually 0.1-0.3 range now. The thing is that, the server response didn't come back to the same level as before. I've optimized mysql database and did usual things. Loading of static files is very fast, particularly because I compress and cache them in lighttpd, but anything PHP is very slow and I wonder where did the server juice drain to. Frankly, my old hosting service for a few bucks a month is running much faster at load average of 3 than this VPS at 0.2, comparing the same, new, dynamic contents without cache.

    At the hosting service, I didn't use Fantastico or anything and installed packages from tar files by hand, so the scripts are identical. Hosting services may be doing a lot of optimization on the server, maybe with lots of buffering and caching, ... but this shouldn't really help the loading time of a new dynamic content.

    What am I missing? Did google permanently suck my server juice or they just hid it? What tuneup or optimization I should try?

    Thanks,

    megaptera

  2. #2
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    724
    Hi,
    Are you sure you want to turn Googlebot away with the robots.txt? You will lose traffic if this is the case.

    In a dedicated server, although the server specifications may not be great, however, there are more shared resources for your site to use. Whereas for VPS, although the host node specifications can be superior, but you are only getting a small and confined resources.

    Check out your QoS alert if you have a Virtuozzo or HyperVM control panel, see whether your VPS exceeds any of the resources allocated.

    Alternatively, if you want, you can do these commands and paste the output here for us to comment on:
    1. cat /proc/user_beancounters (virtuozzo)
    2. free -m

    Thanks.
    SecureAX Singapore - Virtualization, Private Cloud Computing & Managed Datacenter in Singapore
    - Managed Virtual Private Servers, Dedicated Servers & Colocation Services in Singapore
    - Gigabit backbone at Equinix Singapore, M1 & Telin Datacenters with Private Layer 2 for Disaster Recovery setup

  3. #3
    Yes ideally I want to keep things running but at this point I have no use out of this server without robots.txt so I'm blocking them from accessing gallery2 part. (Yes, that's much of the problem.)

    I don't think the cpu/memory resource is the problem:

    # free -m
    total used free shared buffers cached
    Mem: 512 20 491 0 0 0
    -/+ buffers/cache: 20 491
    Swap: 0 0 0

    # cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    201: kmemsize 1916092 3693640 2147483646 2147483646 0
    lockedpages 0 0 999999 999999 0
    privvmpages 8185 40616 131072 131072 0
    shmpages 640 18512 65536 65536 0
    dummy 0 0 0 0 0
    numproc 28 57 999999 999999 0
    physpages 4903 28486 0 2147483647 0
    vmguarpages 0 0 65536 2147483647 0
    oomguarpages 5221 28702 65536 2147483647 0
    numtcpsock 14 122 7999992 7999992 0
    numflock 4 105 999999 999999 0
    numpty 1 3 500000 500000 0
    numsiginfo 0 23 999999 999999 0
    tcpsndbuf 175380 1110000 53687296 235713536 0
    tcprcvbuf 238944 1321628 53687296 235713536 0
    othersockbuf 11100 518700 53687296 235713536 0
    dgramrcvbuf 0 8364 53687296 235713536 0
    numothersock 11 229 7999992 7999992 0
    dcachesize 0 0 2147483646 2147483646 0
    numfile 734 3471 23999976 23999976 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 10 10 999999 999999 0

  4. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

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