Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2010, 07:49 AM
SyRiAn BoY SyRiAn BoY is offline
 
Join Date: Sep 2010
Location: Qatar
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default MySQL Error: /includes/class_core.php on line 311

I'm running 3.8.4 and am getting the following error some time to my email
vBulletin Database Error!


I get this one 200 Massages/per day to my email.

Quote:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User sql_admin already has more than 'max_user_connections' active connections
/xxx/xxx/xxx/xxx/xxx/public_html/club/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Tuesday, September 21st 2010 @ 04:00:50 AM
Error Date : Tuesday, September 21st 2010 @ 04:00:50 AM
Script : http://www.syrianboy.net/club/index.php
Referrer :
IP Address : 65.55.3.143
Username :
Classname : vb_database
MySQL Version :
Please advice
Reply With Quote
  #2  
Old 09-21-2010, 10:38 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's something you'll need to contact your host about. Your reaching your limit of sql connections that the host has in place.
Reply With Quote
  #3  
Old 09-21-2010, 12:18 PM
SyRiAn BoY SyRiAn BoY is offline
 
Join Date: Sep 2010
Location: Qatar
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I contacted the host provider they said the following:

Quote:

The Reason you are receiving this error is due to the maximum connections of the database per hour setting
which is set to 75,000 per user per hour. This setting is there to ensure that
the MySQL database cannot be overloaded with too many query requests.

The queries will reset every hour and is kept by user however every time the
pages on your site are accessed you are still attempting to make queries to the
database server. Because of this even though you are getting errors your script
are still accumulating the queries. As a temporary fix for this issue you can
delete and recreate your database user however this error will still come back if you do
not condense the amount of queries your script uses by optimizing your SQL
usage.
Below is a link that should help, show you how to optimize your MySQL usage:
http://www.sitepoint.com/article/opt...ql-application
Actually i didn't have many users .. please advice
Reply With Quote
  #4  
Old 09-21-2010, 12:42 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

75,000 an hour ? - thats about 21 a second, every second - thats a lot - is your site really busy, what else are you running ?

Useless reply from your host btw, and a link to a 2001 article by Mike Sullivan on indexes, which is of zero use to you. Maybe you need to look at other hosts.
Reply With Quote
  #5  
Old 09-21-2010, 01:57 PM
SyRiAn BoY SyRiAn BoY is offline
 
Join Date: Sep 2010
Location: Qatar
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No not possible 75000 , I have around 1500 visit per 1 day

I get this result from Google Analytics.

Are vBSEO hack effect our over load on the database ?
And what the best hosting for VB ?
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 09:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03824 seconds
  • Memory Usage 2,201KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete