XF 1.5 Too many connections

vinafix

Active member
Here is error ?


#0 /var/www/html/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /var/www/html/library/XenForo/Application.php(730): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /var/www/html/library/XenForo/Application.php(973): call_user_func_array(Array, Array)
#4 /var/www/html/library/XenForo/Application.php(1004): XenForo_Application->lazyLoad('db', NULL)
#5 /var/www/html/library/XenForo/Application.php(1629): XenForo_Application::get('db')
#6 /var/www/html/library/XenForo/Model.php(161): XenForo_Application::getDb()
#7 /var/www/html/library/*******/AdvancedThreadRating/Model/StyleRating.php(40): XenForo_Model->_getDb()
#8 /var/www/html/library/*******/AdvancedThreadRating/Model/StyleRating.php(22): *******_AdvancedThreadRating_Model_StyleRating->getStyleRatingActive()
#9 /var/www/html/library/*******/AdvancedThreadRating/EventListeners/Listener.php(15): *******_AdvancedThreadRating_Model_StyleRating->getStyleRatingCss()
#10 [internal function]: *******_AdvancedThreadRating_EventListeners_Listener::initDependencies(Object(XenForo_Dependencies_Public), Array)
#11 /var/www/html/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#12 /var/www/html/library/XenForo/Dependencies/Abstract.php(215): XenForo_CodeEvent::fire('init_dependenci...', Array)
#13 /var/www/html/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#14 /var/www/html/index.php(13): XenForo_FrontController->run()
#15 {main}

Screen Shot 2017-01-10 at 6.20.13 PM.webp
 
Or to save you the time, find your my.cnf file (the mysql config file) which will normally be either in
/etc
or
/etc/msyql
and modify the line that contains
Code:
max_connections =
to a higher number, realizing that the more connections you set the more memory that is used.
 
Back
Top Bottom