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 06-21-2011, 08:35 PM
5starpool 5starpool is offline
 
Join Date: Jan 2010
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin Process spikes causing errors

My forum is hosted on a hostgator shared server, and has a process limit of 25 concurrent processes. Most of the time there is no issue, and between 2-4 processes are running at a time. Occasionally though, the processes will spike, causing error 500, and making the site unavailable. Here is a sample list of processes running at a time when my site is unavailable.

32572 /usr/local/cpanel/cpanel ./frontend/x3/hg/processes.php 0% 0.1% Kill Process
32185 /usr/bin/php/home/cpname/public_html/forum/editpost.php 0% 0.1% Kill Process
32169 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
32099 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31900 /usr/bin/php/home/cpname/public_html/forum/editpost.php 0% 0.1% Kill Process
31881 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31846 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31839 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31702 /usr/bin/php/home/cpname/public_html/forum/forumdisplay.php 0% 0.1% Kill Process
31546 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31534 /usr/bin/php/home/cpname/public_html/forum/post_thanks.php 0% 0.1% Kill Process
31506 /usr/bin/php/home/cpname/public_html/forum/showthread.php 0.1% 0.1% Kill Process
31445 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31296 /usr/bin/php/home/cpname/public_html/forum/misc.php 0% 0.1% Kill Process
32178 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31728 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31647 /usr/bin/php/home/cpname/public_html/forum/forumdisplay.php 0% 0.1% Kill Process
31636 /usr/bin/php/home/cpname/public_html/forum/ajax.php 0% 0.1% Kill Process
31538 /usr/bin/php/home/cpname/public_html/forum/index.php 0% 0.1% Kill Process
31380 /usr/bin/php/home/cpname/public_html/forum/showthread.php 0.1% 0.1% Kill Process
31300 /usr/bin/php/home/cpname/public_html/forum/misc.php 0% 0.1% Kill Process
31297 /usr/bin/php/home/cpname/public_html/forum/misc.php 0% 0.1% Kill Process
31229 /usr/bin/php/home/cpname/public_html/forum/showthread.php 0% 0.1% Kill Process
29553 /usr/bin/php/home/cpname/public_html/forum/misc.php 0% 0.1% Kill Process
27105 /usr/bin/php/home/cpname/public_html/forum/misc.php 0% 0.1% Kill Process

As you can see, most of these are standard vbulletin php files that would be accessed thousands of times a day, and I would imagine would only last a fraction of a second usually, but only occasionally does it spike. This is not caused by a surge in users, as it is pretty constant usage at around 80-140 users for most of the day (the rest is quieter). I have run the vB optimisation things mentioned in this page :http://www.vbulletin-faq.com/optimiz...tin-server.htm but it still occurs intermittently, and I have no idea why. I have talked this over with live support on hostgator and they are adamant that it is nothing on their side that is causing this.

Could it be caused by vb hacks I've installed? I haven't installed any over the last few months that I can remember, and this has mostly been happening the last 2-3 months. My forum is about 17 months old and has around 340k posts. There is also one very large thread of 150k posts. Could this have anything to do with the issue?

I am at a loss here I'm afraid, so any help would be greatly appreciated.
Reply With Quote
  #2  
Old 06-24-2011, 11:51 AM
5starpool 5starpool is offline
 
Join Date: Jan 2010
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has no one got any suggestions? Is there a better palce to post to ask about this?
Reply With Quote
  #3  
Old 06-24-2011, 03:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably a better place to ask about server issues is over in the Server Configuration forum on vbulletin.com
Reply With Quote
Благодарность от:
GONUMBER6
  #4  
Old 06-26-2011, 01:38 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I think Lynne missed the part about this being a shared server. In fact you have no control over the server at all so don't bother going to the server configuration forum.

You haven't made it clear how many concurrent users you average, which is all that counts. The new default timeout in mysql 5 is a measly 20 seconds, which could be the whole problem. I know our host refuses to raise that limit to the recommended 180 or so.

My own year or so on Hostgator with sometimes as many as FIVE concurrent users on a shared server would often lead to server errors. Tech support always said everything was working normally.
Reply With Quote
  #5  
Old 06-26-2011, 03:48 PM
5starpool 5starpool is offline
 
Join Date: Jan 2010
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
Actually, I think Lynne missed the part about this being a shared server. In fact you have no control over the server at all so don't bother going to the server configuration forum.

You haven't made it clear how many concurrent users you average, which is all that counts. The new default timeout in mysql 5 is a measly 20 seconds, which could be the whole problem. I know our host refuses to raise that limit to the recommended 180 or so.

My own year or so on Hostgator with sometimes as many as FIVE concurrent users on a shared server would often lead to server errors. Tech support always said everything was working normally.
Usually 80-140 online for most of the day. If I thought that VPS would certainly solve this issue, I'd be prepared to take the financial hit, but don't want to do this, and then find that it is an unrelated issue that still causes problems post move.
Reply With Quote
  #6  
Old 06-26-2011, 05:22 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not being more specific. Are you talking 80-140 concurrent members doing things. or Guests & Searchbots?

If you have more than 30 active members on simultaneously on a regular basis you need VPS these days. Hosts have oversold a lot of the shared servers. But you should be able to peak to 100 on a decent shared server.
Reply With Quote
  #7  
Old 06-27-2011, 09:49 AM
5starpool 5starpool is offline
 
Join Date: Jan 2010
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya, If there are 100 showing as online, about 55 would be logged in members, the rest guests and bots. I know we do have a good few lurkers as well, so I'd imagine that the majority of the rest would be real people clicking things.

Sounds like by your criteria above I'd definitely need to move. I appreciate the input.
Reply With Quote
  #8  
Old 07-05-2011, 09:23 PM
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having the same issue with dreamhost.com with only 1 user trying to load the WYSWYG editor. This is also on a shared host
Reply With Quote
  #9  
Old 07-07-2011, 09:59 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
Sorry for not being more specific. Are you talking 80-140 concurrent members doing things. or Guests & Searchbots?

If you have more than 30 active members on simultaneously on a regular basis you need VPS these days. Hosts have oversold a lot of the shared servers. But you should be able to peak to 100 on a decent shared server.
That's just not true. You can definitely be fine on a quality shared server- but Hostgator is not a quality shared server. I have 100+ active members at time (and have had 150+ in the past) on shared without issue.
Reply With Quote
  #10  
Old 08-05-2011, 08:05 PM
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
That's just not true. You can definitely be fine on a quality shared server- but Hostgator is not a quality shared server. I have 100+ active members at time (and have had 150+ in the past) on shared without issue.
which shared host are you on?

thanks
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 05:45 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.08838 seconds
  • Memory Usage 2,269KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete