Ryan Nielson
Active member
I keep having issues with memcache timeout. It is often causes my max users to get exceeded as well, and eventually results in service crashes. Do I have a config wrong?
Code:
ErrorException: MemcachePool::get(): Server 127.0.0.1 (tcp 11211, udp 0) failed with: Network timeout (0) - library/Zend/Cache/Backend/Memcached.php:180
Generated By: Unknown Account, 48 minutes ago
#0 [internal function]: XenForo_Application::handlePhpError(8, 'MemcachePool::g...', '/var/www/vhosts...', 180, Array)
#1 /var/www/vhosts/stratics.com/library/Zend/Cache/Backend/Memcached.php(180): MemcachePool->get('xf_cache_data_l...')
#2 /var/www/vhosts/stratics.com/library/Zend/Cache/Core.php(303): Zend_Cache_Backend_Memcached->load('xf_cache_data_l...', false)
#3 /var/www/vhosts/stratics.com/library/XenForo/Model/DataRegistry.php(87): Zend_Cache_Core->load('data_languages')
#4 /var/www/vhosts/stratics.com/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#5 /var/www/vhosts/stratics.com/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#6 /var/www/vhosts/stratics.com/index.php(13): XenForo_FrontController->run()
#7 {main}
array(3) {
["url"] => string(36) "http://stratics.com/forums/uhall.35/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Code:
Zend_Db_Adapter_Mysqli_Exception: Too many connections - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, 50 minutes ago
#0 /var/www/vhosts/stratics.com/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /var/www/vhosts/stratics.com/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 /var/www/vhosts/stratics.com/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
#4 /var/www/vhosts/stratics.com/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
#5 /var/www/vhosts/stratics.com/library/XenForo/Application.php(1607): XenForo_Application::get('db')
#6 /var/www/vhosts/stratics.com/vault/core/controller/db/xf.php(33): XenForo_Application::getDb()
#7 /var/www/vhosts/stratics.com/vault/core/controller/start/vw.php(65): vw_DB_Controller_XF->ready()
#8 /var/www/vhosts/stratics.com/vault/core/controller/start/vw.php(74): vw_Start_Controller->init()
#9 /var/www/vhosts/stratics.com/library/vw/XenForo/CodeEventListener.php(76): vw_Start_Controller->fire()
#10 /var/www/vhosts/stratics.com/library/vw/XenForo/CodeEventListener.php(28): vw_XenForo_CodeEventListener::init()
#11 [internal function]: vw_XenForo_CodeEventListener::init_dependencies(Object(XenForo_Dependencies_Public), Array)
#12 /var/www/vhosts/stratics.com/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#13 /var/www/vhosts/stratics.com/library/XenForo/Dependencies/Abstract.php(215): XenForo_CodeEvent::fire('init_dependenci...', Array)
#14 /var/www/vhosts/stratics.com/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#15 /var/www/vhosts/stratics.com/index.php(13): XenForo_FrontController->run()
#16 {main}
array(3) {
["url"] => string(46) "http://stratics.com/forums/uo-traders-hall.41/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}