vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   MSQL problem (https://vborg.vbsupport.ru/showthread.php?t=239735)

Devanand 04-03-2010 04:44 PM

MSQL problem
 
Hello,

I just open a email I used in vbulletin which I didn't open for a months and I saw that I am getting tons of email every day. All email are almost the same and look like this:

Code:

Database error in vBulletin :

mysqli_real_connect() [<a
href='function.mysqli-real-connect'>function.mysqli-real-connect</a>]: (42000/1203):
User ********** already has more than 'max_user_connections' active connections
.../public_html/includes/class_core.php on line 1138

MySQL Error  :
Error Number  :
Request Date  : Saturday, April 3rd 2010 @ 04:57:33 AM
Error Date    : Saturday, April 3rd 2010 @ 04:57:33 AM
Script        : http://mysite.com/register.php
Referrer      : http://mysite.com/register.php
IP Address    : 212.117.165.184
Username      :
Classname    : ******_Database_MySQLi
MySQL Version :

Of course, "Script" and "Referrer" are different in every email but this few lines at the begining are same in each of them.
I found that file and line 1138 but that is all I know to do now.
I am on dedicated server i7 ( 8 cores ) / 12 GB RAM so it must me some solution.
What is problem and how to fix it?

Thank you

Lynne 04-04-2010 03:05 PM

The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off by adding this to your config.php:
PHP Code:

$config['MasterServer']['usepconnect'] = 0

But, if you still have the problem you will have to talk to your host about raising that limit. Also, see this Common MySQL Error Messages


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

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.00985 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete