SuperCotilla
Member
Hello, I run a very busy community and the site have been unresponsive for a good part of the weekend. No specific error, just "Unexpected database error" message. You sometimes can enter to the site but as soon as you make a request you'll get the mentioned error. I'll give you the last Hostgator answer in hopes to find a solution together. Version 1.5.8. Thanks in advance.
www.cotilleando.com
Hello there,
This is due to requests to the cotille_xenforofinal and more specifically the xf_post table:
Minutes before and during the most recently reported issue:
16:00 1.44
16:01 1.75
16:02 2.08
16:03 1.89
16:04 1.79
16:05 1.54
16:06 1.94
16:07 1.66
16:08 4.44
16:09 16.33
16:10 16.02
16:11 22.18
Requests to that table with no load:
root@host [~]# for m in {00..06} ; do echo "16:${m} :: $(sys-snap -m 16:${m} | grep -c xf_post)" ; done | column -t
16:00 :: 2
16:01 :: 0
16:02 :: 0
16:03 :: 0
16:04 :: 1
16:05 :: 0
16:06 :: 0
Requests to that table with moderate to high load:
root@host [~]# for m in {07..11} ; do echo "16:${m} :: $(sys-snap -m 16:${m} | grep -c xf_post)" ; done | column -t
16:07 :: 0
16:08 :: 1
16:09 :: 18
16:10 :: 24
16:11 :: 24
As you can see, the table is very large and we recommend contacting a developer about caching to flat HTML files where possible and perhaps even archiving older posts:
root@host [/home/cotille]# mysql -e "SELECT COUNT(*) FROM xf_post" cotille_xenforofinal
+----------+
| COUNT(*) |
+----------+
| 3569155 |
+----------+
Please let us know if you experience any issues or have any questions or concerns.
Regards,
Matthew M.
GNU/Linux Systems Administrator II
www.cotilleando.com
Hello there,
This is due to requests to the cotille_xenforofinal and more specifically the xf_post table:
Minutes before and during the most recently reported issue:
16:00 1.44
16:01 1.75
16:02 2.08
16:03 1.89
16:04 1.79
16:05 1.54
16:06 1.94
16:07 1.66
16:08 4.44
16:09 16.33
16:10 16.02
16:11 22.18
Requests to that table with no load:
root@host [~]# for m in {00..06} ; do echo "16:${m} :: $(sys-snap -m 16:${m} | grep -c xf_post)" ; done | column -t
16:00 :: 2
16:01 :: 0
16:02 :: 0
16:03 :: 0
16:04 :: 1
16:05 :: 0
16:06 :: 0
Requests to that table with moderate to high load:
root@host [~]# for m in {07..11} ; do echo "16:${m} :: $(sys-snap -m 16:${m} | grep -c xf_post)" ; done | column -t
16:07 :: 0
16:08 :: 1
16:09 :: 18
16:10 :: 24
16:11 :: 24
As you can see, the table is very large and we recommend contacting a developer about caching to flat HTML files where possible and perhaps even archiving older posts:
root@host [/home/cotille]# mysql -e "SELECT COUNT(*) FROM xf_post" cotille_xenforofinal
+----------+
| COUNT(*) |
+----------+
| 3569155 |
+----------+
Please let us know if you experience any issues or have any questions or concerns.
Regards,
Matthew M.
GNU/Linux Systems Administrator II