hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS questions...
Reply

Forum Jump

VPS questions...

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-23-2007, 08:47 PM
megaptera megaptera is offline
Newbie
 
Join Date: May 2007
Posts: 14

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



Sponsored Links
  #2  
Old 05-23-2007, 09:26 PM
michaelfoo michaelfoo is offline
Web Hosting Master
 
Join Date: Mar 2003
Location: Singapore
Posts: 712
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 Internet (RCB No. 53114068K) - 99.9% Uptime Affordable & Reliable Virtual Private Server
- Multihomed Premium Network in The Westin Building (Seattle, US)
- Unmetered Shared Bandwidth in Changi Datacenter (Singapore)

  #3  
Old 05-23-2007, 09:40 PM
megaptera megaptera is offline
Newbie
 
Join Date: May 2007
Posts: 14
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

Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
What Can Hosts Do to Fight Child Endangerment Online? Join Us Thursday to Find Out! Blog 2014-04-16 12:54:35
Cloud Experts Answer Windows Azure Questions Aboard Super-Sonic Jet Blog 2013-10-10 14:51:32
UK Tech Blog Challenges CloudFlare, Web Hosts on Free Speech Blog 2013-08-12 10:32:52
Who Wants to be a Hosting Millionaire? with Jack Zubarev Web Hosting News 2013-02-06 20:01:39
ICANN 45: New gTLD Overview and Information for Applicants with ICANN CSO Kurt Pritz Web Hosting News 2012-10-15 14:01:26


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?