Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-08-2010, 05:19 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No way. Going through this recently on the HG forums, I know on a good day 100 users could easily share 25 mysql connections. Conversely, if something isn't working right, a single user could fill all 25. Really, on oversold shared servers the problem is usually cpu load anyway ("4.0 per cpu is acceptable" AAAGH).

I use that chatbox (as a shoutbox) and don't get the bots. Odd that some people do.
Reply With Quote
  #12  
Old 06-08-2010, 05:20 PM
Chalex4 Chalex4 is offline
 
Join Date: Feb 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see, so I could potentially have hundreds of people on the site, but if more than 26 people tried to load a page at exactly the same time, one would receive an error. This could be a problem if I ever want to properly expand.

What would you recommend usually for a larger board?

EDIT: That's interesting Videx, I guess it all depends on how often your site is being indexed already.
Reply With Quote
  #13  
Old 06-08-2010, 05:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
No way. Going through this recently on the HG forums, I know on a good day 100 users could easily share 25 mysql connections. Conversely, if something isn't working right, a single user could fill all 25. Really, on oversold shared servers the problem is usually cpu load anyway ("4.0 per cpu is acceptable" AAAGH).

I use that chatbox (as a shoutbox) and don't get the bots. Odd that some people do.
No way what? It is possible for 25 users alone to kill those 25 connections, just not likely.

It really depends on how much and what if anything they're doing.
Reply With Quote
  #14  
Old 06-15-2010, 11:18 AM
Chalex4 Chalex4 is offline
 
Join Date: Feb 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I seem to be getting some of these errors now as well (not as many though):

PHP Code:
Database error in vBulletin 4.0.3:

Invalid SQL:

                
SELECT *
                
FROM vb_style
                WHERE 
(styleid 11 AND userselect 1)
                    OR 
styleid 11
                ORDER BY styleid ASC
                LIMIT 1
;

MySQL Error   MySQL server has gone away
Error Number  
2006
Request Date  
TuesdayJune 15th 2010 02:10:56 AM
Error Date    
TuesdayJune 15th 2010 02:12:35 AM
Script        
http://www.atkcommunity.com/threads/2508-EA-Week-on-Steam
Referrer      
IP Address    xx.xxx.xx.xxx
Username      
Unregistered
Classname     
vB_Database
MySQL Version 

Reply With Quote
  #15  
Old 06-15-2010, 02:33 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is your MySQL server going down.
Reply With Quote
  #16  
Old 06-15-2010, 02:53 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
It comes down to mean you can have 25 active mysql connections total. If you had 26+ users online at the same time, or possibly higehr, your users will get those errors.
That number is kind of mis-leading though, as most connections will run in a faction of a second and close. If you have some poorly structured queries, that can cause problems with connections not closing fast enough. But, 25 is kind of low, I agree. Hostgator is set up that way unless you go the VPS setup or higher.
Reply With Quote
  #17  
Old 06-16-2010, 01:52 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
That number is kind of mis-leading though, as most connections will run in a faction of a second and close. If you have some poorly structured queries, that can cause problems with connections not closing fast enough. But, 25 is kind of low, I agree. Hostgator is set up that way unless you go the VPS setup or higher.
It really depends on a large number of things, if those 25 users are poking, clicking around, possibly using one of those fancy ajax chat boxes, 25 connections can get gobbled up a whole ton faster. Downloading large attachments from the database can also cause issues.
Reply With Quote
  #18  
Old 06-16-2010, 07:26 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd really get a better host. 25 is a bad limit lol.
Reply With Quote
  #19  
Old 06-16-2010, 10:47 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
I'd really get a better host. 25 is a bad limit lol.
It seems to be going around nowadays though. The ads trumpet unlimited storage and bandwidth, which is true. But not too many new website owners have any idea what a MySQL connection is, nor any idea the software they'll use may need it. But from personal experience even worse is the "acceptable" CPU load on those oversold shared servers. You'll start getting mysql errors long before you get anywhere near the 25 connection limit.
Reply With Quote
  #20  
Old 06-16-2010, 10:57 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of the reasons i chose a VPS hahah. Shared hosting sucks.
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 04:08 PM.


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.04577 seconds
  • Memory Usage 2,268KB
  • 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
  • (1)bbcode_php
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete