vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database Error 3.8 (https://vborg.vbsupport.ru/showthread.php?t=273532)

SVTCobraLTD 11-07-2011 11:41 AM

Database Error 3.8
 
What can I do to stop these. Lately, I have been getting a few a day.

Code:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/home/xxxx/xxxxx/forums/includes/class_core.php on line 311

MySQL Error  :
Error Number  :
Request Date  : Monday, November 7th 2011 @ 06:35:16 AM
Error Date    : Monday, November 7th 2011 @ 06:35:16 AM
Script        : http://www.xxxxxxx.com/forums/admincp/user.php?do=edit&u=2166
Referrer      : http://www.xxxxxxx.com/forums/admincp/user.php?do=find&user[usergroupid]=8
IP Address    : xxxxxxxx
Username      :
Classname    : vB_Database
MySQL Version :


HMBeaty 11-07-2011 03:45 PM

https://vborg.vbsupport.ru/showthread.php?t=272014

The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off in your config.php:

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

But if you still have problems after that, you will need to raise this limit. Here is more info on that error:

http://dev.mysql.com/doc/refman/5.0/...nnections.html

SVTCobraLTD 11-07-2011 06:12 PM

Persistent connections is already off.

mysql.connect_timeout I changed to 20 instead of the default 60 after reading that thread you linked to. Is this a bad idea?

Is there a mod that will limit robot access if connections are too much?

souperman 11-07-2011 10:38 PM

You made it worst. Try increase it, but make sure you have the hardware for it.

SVTCobraLTD 11-08-2011 10:54 AM

Quote:

Originally Posted by souperman (Post 2265514)
You made it worst. Try increase it, but make sure you have the hardware for it.

Changed it to 80.


All times are GMT. The time now is 12:33 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.00993 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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