vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   (Too many connections) Disturbed me (https://vborg.vbsupport.ru/showthread.php?t=227370)

saadessa 11-04-2009 08:22 AM

(Too many connections) Disturbed me
 
From time to time increase the load on server at the forum, which causes me inconvenience
And more than once by the host to stop My Account
And I get e-mails with that:
PHP Code:

Database error in vBulletin :

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

MySQL Error   

Error Number  
Request Date  WednesdayNovember 4th 2009 11:55:18 AM
Error Date    
WednesdayNovember 4th 2009 11:55:18 AM
Script        
http://www.saad6.com/showthread.php?t=9451
Referrer      
IP Address    115.49.90.253
Username      

Classname     vB_Database
MySQL Version 


i get many of this massege

example : The rates

30.24 22.78 36.97

How to solve this problem and how will I know which products caused the high load on the server
Is there a way to find out the reasons for this problem

JamesC70 11-04-2009 11:46 AM

I had the same problem two or three times a day after I turned on Fulltext Search.

Reverting to vBulletin Internal Search stopped the errors for me.
Admin CP -> vBulletin Options -> Search Type

snakes1100 11-06-2009 01:41 AM

edit my.cnf / my.ini typically located in /etc/my.cnf and change the below:
max_connections = 300
to
max_connections = 400 (Raise this value by 100 until it goes away)
save
restart mysql


All times are GMT. The time now is 08:59 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.01552 seconds
  • Memory Usage 1,725KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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