Divvens
Well-known member
A couple of mysql errors came up last night, I am on a managed VPS server, should I be telling my host anything specific or are there any specifics to make mysql optimization better?
Errors below:
Errors below:
PHP:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Lock wait timeout exceeded; try restarting transaction -library/Zend/Db/Statement/Mysqli.php:214
Generated By:XXX, Today at 5:47 AM
[B]Stack Trace[/B]
#0 /home/XXX/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/XXX/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/XXX/public_html/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_user...', Array)
#3 /home/XXX/public_html/library/XenForo/Model/Alert.php(365): Zend_Db_Adapter_Abstract->update('xf_user', Array, 'user_id = 3418')
#4 /home/XXX/public_html/library/XenForo/Model/Alert.php(352): XenForo_Model_Alert->resetUnreadAlertsCounter(3418)
#5 /home/XXX/public_html/library/XenForo/ControllerPublic/Account.php(41): XenForo_Model_Alert->markAllAlertsReadForUser(3418)
#6 /home/XXX/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Account->actionAlerts()
#7 /home/XXX/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/XXX/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
[B]Request State[/B]
array(3) {
["url"] => string(36) "http://orojackson.com/account/alerts"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
PHP:
Zend_Db_Adapter_Mysqli_Exception: User database_name already has more than 'max_user_connections' active connections - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, Today at 5:48 AM
Stack Trace
#0 /home/XXX/public_html/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /home/XXX/public_html/library/XenForo/Application.php(727): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /home/XXX/public_html/library/XenForo/Application.php(970): call_user_func_array(Array, Array)
#4 /home/XXX/public_html/library/XenForo/Application.php(1001): XenForo_Application->lazyLoad('db', NULL)
#5 /home/XXX/public_html/library/XenForo/Application.php(1571): XenForo_Application::get('db')
#6 /home/XXX/public_html/library/XenForo/Session.php(236): XenForo_Application::getDb()
#7 /home/XXX/public_html/library/XenForo/Session.php(323): XenForo_Session->__construct()
#8 /home/XXX/public_html/library/XenForo/Session.php(257): XenForo_Session::getPublicSession(Object(Zend_Controller_Request_Http))
#9 /home/XXX/public_html/library/XenForo/Controller.php(293): XenForo_Session::startPublicSession(Object(Zend_Controller_Request_Http))
#10 /home/XXX/public_html/library/XenForo/Controller.php(306): XenForo_Controller->_setupSession('Alerts')
#11 /home/XXX/public_html/library/XenForo/FrontController.php(346): XenForo_Controller->preDispatch('Alerts', 'XenForo_Control...')
#12 /home/XXX/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /home/XXX/public_html/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
["url"] => string(36) "http://orojackson.com/account/alerts"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}