I got the below error on my site:
------------------------------------------------------
An exception occurred: User mysite_guy already has more than 'max_user_connections' active connections in /home/mysite/public_html/library/Zend/Db/Adapter/Mysqli.php on line 333
(I replace the real account/directory name with mysite)
When I asking my host to check it out, I got their response as below:
------------------------------------------------------------------
The MySQL queries with respect to the database "mysite_guy" was getting piled up which was the reason for the connections to be getting completely used
----
| 66726 | mysite_guy | localhost | mysite_xen | Execute | 35816 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 70099 | mysite_guy | localhost | mysite_xen | Execute | 35754 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 77440 | mysite_guy | localhost | mysite_xen | Execute | 35665 | Creating delayed handler | INSERT DELAYED INTO xf_nflj_showcase_item_view
| 77894 | mysite_guy | localhost | mysite_xen | Execute | 35658 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 79755 | mysite_guy | localhost | mysite_xen | Execute | 35628 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
----
I've killed the queries now and the site is loading now, please contact the developer of the site and investigate why this was happening so as to avoid further issues.
------------------------------------------------------------------
It's look like there is some problem in the attachment uploading of the showcase addon.
I currently use showcase 2.5.4, just not sure if upgrading will solved the problem or not as I can't find any thread mention about 'max_user_connections'.
If this is already addressed somewhere, please point me to that page. Thanks.
------------------------------------------------------
An exception occurred: User mysite_guy already has more than 'max_user_connections' active connections in /home/mysite/public_html/library/Zend/Db/Adapter/Mysqli.php on line 333
- Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315
- Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 730
- XenForo_Application->loadDb()
- call_user_func_array() in XenForo/Application.php at line 973
- XenForo_Application->lazyLoad() in XenForo/Application.php at line 1004
- XenForo_Application::get() in XenForo/Application.php at line 1609
- XenForo_Application::getDb() in XenForo/Model.php at line 161
- XenForo_Model->_getDb() in XenForo/Model/DataRegistry.php at line 138
- XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97
- XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 147
- XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
- XenForo_FrontController->run() in /home/mysite/public_html/index.php at line 13
(I replace the real account/directory name with mysite)
When I asking my host to check it out, I got their response as below:
------------------------------------------------------------------
The MySQL queries with respect to the database "mysite_guy" was getting piled up which was the reason for the connections to be getting completely used
----
| 66726 | mysite_guy | localhost | mysite_xen | Execute | 35816 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 70099 | mysite_guy | localhost | mysite_xen | Execute | 35754 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 77440 | mysite_guy | localhost | mysite_xen | Execute | 35665 | Creating delayed handler | INSERT DELAYED INTO xf_nflj_showcase_item_view
| 77894 | mysite_guy | localhost | mysite_xen | Execute | 35658 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
| 79755 | mysite_guy | localhost | mysite_xen | Execute | 35628 | Creating delayed handler | INSERT DELAYED INTO xf_attachment_view
----
I've killed the queries now and the site is loading now, please contact the developer of the site and investigate why this was happening so as to avoid further issues.
------------------------------------------------------------------
It's look like there is some problem in the attachment uploading of the showcase addon.
I currently use showcase 2.5.4, just not sure if upgrading will solved the problem or not as I can't find any thread mention about 'max_user_connections'.
If this is already addressed somewhere, please point me to that page. Thanks.