Ralle
Owner
- Joined
- Oct 6, 2004
- Messages
- 10,212
After investigating the extreme overload on the server hosting THW we have finally found out what was the cause and fixed it.
You shouldn't get any more server busy messages unless something is very wrong.
For those interested the problem lies in a database table containing cached searches for the resource sections. A cached search is deleted after 60 seconds but after months of deleting searches without using the optimize function of MySQL the table was 900 MB big which is a lot for a table containing 100 rows at peak times. A single select query took >5 seconds to run. After an optimize it ran fine again. We have added a optimize query to the daily scheduled tasks so it should never happen again.
I am so happy it works well again
You shouldn't get any more server busy messages unless something is very wrong.
For those interested the problem lies in a database table containing cached searches for the resource sections. A cached search is deleted after 60 seconds but after months of deleting searches without using the optimize function of MySQL the table was 900 MB big which is a lot for a table containing 100 rows at peak times. A single select query took >5 seconds to run. After an optimize it ran fine again. We have added a optimize query to the daily scheduled tasks so it should never happen again.
I am so happy it works well again