Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2009, 09:28 PM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need some advice before I go postal

Hello all,

I am experiencing a number of problems with my current hosts, and need some advice before I go postal.

For just over a year I have been running my forum on a VPS with the following specification:

VPS Host Server: Dual Quad Core Intel Xeon 2.5 GHz 2x6 MB Cache / 12 GB RAM
VPS OS: Linux CentOS 5.0
VPS Guaranteed RAM: 2gb Guaranteed (no burst)

The host refers to this package as semi dedicated as they guarantee that a single hardware host will only host a maximum of 6 VPS images.

Up until around 2 months ago everything has been running fine and the server has happily handled the requests made of it. However in the last 2 months and at seemingly random time the load sky rockets and the server dies.

Of course when I first raised this with the support desk their response was that the server was overloaded and I needed to upgrade to a fully dedicated package, however this just didn't seem right to me as I knew from Google analytics that the volume of traffic today is not really any different to what it was a year ago when everything ran fine. To demonstrate this here are the analytics page view stats for the last year
  • 03/2008 - 1482690
  • 04/2008 - 1374737
  • 05/2008 - 1276575
  • 06/2008 - 1345278
  • 07/2008 - 1325454
  • 08/2008 - 1168109
  • 09/2008 - 1286918
  • 10/2008 - 1376495
  • 11/2008 - 1413101
  • 12/2008 - 1289283
  • 01/2009 - 1301078
  • 02/2009 - 1201745
  • 03/2009 - 1196358

However no matter how I put the fact that usage has not change in the last year the host is sticking to their "you need to upgrade to dedicated" position.

So I then decided to do some more specific monitoring, so for the last week I have been running a cron job that every ten minutes queries OS load stats and vbulletin user stats and outputs these to a file, this has shown something rather interesting - for example:
  • 03/04/2009 @ 12:00, 139 users online, Load stats 0.39, 0.55, 0.76
  • 06/04/2009 @ 12:50, 138 users online, load stats 0.39, 0.54, 0.92
  • 02/04/2009 @ 22:30, 118 users online, load stats 0.37, 0.71, 1.1

All good, everything is running perfectly, however:
  • 06/04/2009 @ 09:40, 94 users online, load stats 11.63, 6.63, 3.46
  • 07/04/2009 @ 08:51, 6 users online, load stats 26.19, 8.65, 3.17
  • 07/04/2009 @ 21:21, 115 users online, load stats 101.64, 58.92, 27.41

Now the host is saying that it is obvious that users are "using the site" in a different way and are therefore causing the outages - again this doesn't make any sense - how can the activity of 6 users cause more load than 139 users? So far the host has skirted around the answer to that question like a well practiced politician.

In addition to this every time there is an outage, I get a slightly different reason for the outage before the classic "you need to upgrade" line is produced, so far I have seen everything from "MySQL is not optimised for VPS" to "MySQL connection limit was reached" even though this is set at 750 and I have never had 750 users online let alone 750 all querying the DB at the same time.

So the question is, who is right? me or the host?
Reply With Quote
  #2  
Old 04-07-2009, 09:48 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, without debugging the system, checking logs etc, can't really say, but i would bet its most likely the server over loading and not from the 6 users on your site.

Have you debugged the server?
Reply With Quote
  #3  
Old 04-08-2009, 01:22 AM
motowebmaster motowebmaster is offline
 
Join Date: Feb 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like you've done your research, but there could be several reasons why your CPU load is that high, some of which have nothing to do with vbulletin.

Possibles could include:
  • purposeful action (such as a DDOS)
  • problems with email (high rejection or scanning)
  • restrictive config settings in either apache, php, or mysql
  • servers that also host DNS
  • search engine spiders indexing your content

I think your host's feedback is questionable, but it is entirely possible that all of your application activity is valid and needs to be addressed.

One of the books I keep close, titled "Linux Server Hacks", offers some scenarios and suggested practices for determining the cause of utilization issues.
Reply With Quote
  #4  
Old 04-08-2009, 04:10 AM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some hosting companies will offer VPS and then artificially enduce problems to convince you to get a dedicated plan. Is your host a trusted host?
Reply With Quote
  #5  
Old 04-08-2009, 08:24 AM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TigerC10 View Post
Some hosting companies will offer VPS and then artificially enduce problems to convince you to get a dedicated plan. Is your host a trusted host?
I have nothing to back this up but this is the "feeling" I get, as everytime I speak to support the outages are caused by a different reason. So far we have had the following:
  • General volume of views
  • More than 500k rows in the vbulletin "post" table
  • MySQL not optimised
  • Too many connections to the db
  • To many HTTP processes
  • An single IP making too many connections (this IP is now firewalled out on the hardware firewall)
  • Insert random reason here

If the reason was constant I would be more inclined to believe them, but it isnt.

I intend to really start marketing my site in the next few months, so I do intend to go dedicated however the chances are it won't be with this host.
Reply With Quote
  #6  
Old 04-08-2009, 11:11 AM
royo royo is offline
 
Join Date: Jan 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're paying a really low amount for that VPS it might be oversold and so you will see problems.
Reply With Quote
  #7  
Old 04-08-2009, 12:40 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try posting in the server configuration forum at vB.com, maybe they can give advise on tuning the server a bit more.
Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04486 seconds
  • Memory Usage 2,222KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete