XF 1.5 "Too many connections " Please see what's happening

thanhlau

Member
Hello
Having a problem, an error message while browsing Forum
(An unexpected database error occurred. Please try again later.)

Server Error Logs in Admin Cpanel

Zend_Db_Adapter_Mysqli_Exception: Too many connections - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, 7 phút tru?c

Stack Trace

#0 /home/thanhlau/public_html/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/thanhlau/public_html/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /home/thanhlau/public_html/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
#4 /home/thanhlau/public_html/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
#5 /home/thanhlau/public_html/library/XenForo/Application.php(1607): XenForo_Application::get('db')
#6 /home/thanhlau/public_html/library/XenForo/Model.php(161): XenForo_Application::getDb()
#7 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
#8 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
#9 /home/thanhlau/public_html/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#10 /home/thanhlau/public_html/library/XenForo/CssOutput.php(624): XenForo_Dependencies_Abstract->preLoadData()
#11 /home/thanhlau/public_html/css.php(12): XenForo_CssOutput::run()
#12 {main}

Request State

array(3) {
["url"] => string(185) "http://thanhlau.xxx/css.php?css=bb_...page,thread_view&style=5&dir=LTR&d=1449480050"
["_GET"] => array(4) {
["css"] => string(124) "bb_code,likes_summary,login_bar,message,message_user_info,nat_public_css,notices,panel_scroller,polls,share_page,thread_view"
["style"] => string(1) "5"
["dir"] => string(3) "LTR"
["d"] => string(10) "1449480050"
}
["_POST"] => array(0) {
}
}

Error Info
Zend_Db_Adapter_Mysqli_Exception: Too many connections - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, 7 phút tru?c

Stack Trace

#0 /home/thanhlau/public_html/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/thanhlau/public_html/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /home/thanhlau/public_html/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
#4 /home/thanhlau/public_html/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
#5 /home/thanhlau/public_html/library/XenForo/Application.php(1607): XenForo_Application::get('db')
#6 /home/thanhlau/public_html/library/XenForo/Model.php(161): XenForo_Application::getDb()
#7 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
#8 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
#9 /home/thanhlau/public_html/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#10 /home/thanhlau/public_html/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#11 /home/thanhlau/public_html/index.php(13): XenForo_FrontController->run()
#12 {main}

Request State

array(3) {
["url"] => string(50) "http://thanhlau.xxx/brms-statistic/statistics.json"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["tab_id"] => string(1) "0"
["modern_statistic_id"] => string(1) "1"
["hard_reload"] => string(5) "false"
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

Zend_Db_Adapter_Mysqli_Exception: Too many connections - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, 14 phút trước

Stack Trace
#0 /home/thanhlau/public_html/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/thanhlau/public_html/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /home/thanhlau/public_html/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
#4 /home/thanhlau/public_html/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
#5 /home/thanhlau/public_html/library/XenForo/Application.php(1607): XenForo_Application::get('db')
#6 /home/thanhlau/public_html/library/XenForo/Model.php(161): XenForo_Application::getDb()
#7 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
#8 /home/thanhlau/public_html/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
#9 /home/thanhlau/public_html/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#10 /home/thanhlau/public_html/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#11 /home/thanhlau/public_html/index.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(50) "http://thanhlau.xxx/brms-statistic/statistics.json"
["_GET"] => array(0) {
}
["_POST"] => array(7) {
["tab_id"] => string(1) "0"
["modern_statistic_id"] => string(1) "1"
["hard_reload"] => string(5) "false"
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
This is a limitation imposed by your host.

You would need to contact them in order to have it increased but they may not be willing or able to as it's a global server limit, so all sites on the same server are utilising the resources.
 
Top Bottom