snowman
Member
Seemingly out of the blue and over the past few days my forum has become increasingly slow to the point where it is not often unresponsive. I also suddenly have been getting a lot of errors in e-mail from the server. I have a modest dedicated server and have run XenForo since 1.0 (and before that vBulletin) at the same host. (Intel Atom D510 Dual-Core 1.6 with HT and 2GB memory).
Several dozen server errors have been logged of this type over the last few days:
"Zend_Db_Adapter_Mysqli_Exception: User snowman_xenforo already has more than 'max_user_connections' active connections - library/Zend/Db/Adapter/Mysqli.php:333 Generated By:
Unknown Account, Today at 10:20 AM"
Also getting this error at times:
Zend_Db_Adapter_Mysqli_Exception: Lost connection to MySQL server at 'sending authentication information', system error: 32 - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, Yesterday at 9:00 PM
I've received several HANG errors during this time (very rare prior to this).
Also, earlier today, FAILED error message - The service “mysql” appears to be down.
Typically, there are about 4 members online, 30 guests and 30 robots. There are 140,000 messages. I am running XF 1.50. No changes have been made recently except removal of a Holiday theme and going back to the default theme and color scheme. This traffic is about the same the entire time.
So far the hosting company has been rather unhelpful. Here's their latest reply:
Any help and or suggestions would be appreciated. Thanks!
Several dozen server errors have been logged of this type over the last few days:
"Zend_Db_Adapter_Mysqli_Exception: User snowman_xenforo already has more than 'max_user_connections' active connections - library/Zend/Db/Adapter/Mysqli.php:333 Generated By:
Unknown Account, Today at 10:20 AM"
Also getting this error at times:
Zend_Db_Adapter_Mysqli_Exception: Lost connection to MySQL server at 'sending authentication information', system error: 32 - library/Zend/Db/Adapter/Mysqli.php:333
Generated By: Unknown Account, Yesterday at 9:00 PM
I've received several HANG errors during this time (very rare prior to this).
Also, earlier today, FAILED error message - The service “mysql” appears to be down.
Typically, there are about 4 members online, 30 guests and 30 robots. There are 140,000 messages. I am running XF 1.50. No changes have been made recently except removal of a Holiday theme and going back to the default theme and color scheme. This traffic is about the same the entire time.
So far the hosting company has been rather unhelpful. Here's their latest reply:
Looking into activity on your server, it appears that the slowdown is due to excessive activity on your [ snowman_community ] database for the forums:
| 4463 | DELAYED | localhost | snowman_community | Delayed insert | 9 | Waiting for INSERT |
|
| 4537 | snowman_xenforo | localhost | snowman_community | Execute | 2 | query end | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4551 | snowman_xenforo | localhost | snowman_community | Execute | 9 | query end | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4564 | snowman_xenforo | localhost | snowman_community | Execute | 33 | update | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4577 | snowman_xenforo | localhost | snowman_community | Execute | 9 | update | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4579 | snowman_xenforo | localhost | snowman_community | Execute | 1 | Sending data | SELECT title, template_compiled
-----------------------------------------------------------------------------------------------------------------------
MySQL is being overloaded with queries to insert entries to the 'xf_bb_code_parse_cache' table. I have checked this table in PHPMyAdmin for the 'snowman' cPanel account and found it contains roughly 4000 pages worth of entries. Since this appears to be a table for holding cached information, the issue could be due to your site's MySQL code and queries not being set to remove or properly handle this cache information. I highly recommend that you contact your web developer or the developer of the xenforo tool this table appears to be related to for further assistance, please not that code management is beyond the scope of our technical support.
They seem to be blaming XenForo software although I have run it for 5 years without this issue. On it's own, the situation has improved a little bit tonight, but for unknown reasons. There is still quite a bit of lag time when navigating and it is slow to display database items such as photos in the media gallery. | 4463 | DELAYED | localhost | snowman_community | Delayed insert | 9 | Waiting for INSERT |
|
| 4537 | snowman_xenforo | localhost | snowman_community | Execute | 2 | query end | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4551 | snowman_xenforo | localhost | snowman_community | Execute | 9 | query end | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4564 | snowman_xenforo | localhost | snowman_community | Execute | 33 | update | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4577 | snowman_xenforo | localhost | snowman_community | Execute | 9 | update | INSERT INTO xf_bb_code_parse_cache
(content_type, content_id, parse_tree, cache_version, ca |
| 4579 | snowman_xenforo | localhost | snowman_community | Execute | 1 | Sending data | SELECT title, template_compiled
-----------------------------------------------------------------------------------------------------------------------
MySQL is being overloaded with queries to insert entries to the 'xf_bb_code_parse_cache' table. I have checked this table in PHPMyAdmin for the 'snowman' cPanel account and found it contains roughly 4000 pages worth of entries. Since this appears to be a table for holding cached information, the issue could be due to your site's MySQL code and queries not being set to remove or properly handle this cache information. I highly recommend that you contact your web developer or the developer of the xenforo tool this table appears to be related to for further assistance, please not that code management is beyond the scope of our technical support.
Any help and or suggestions would be appreciated. Thanks!