I am running a clean install of OC v1.5.1.3 (http://www.bric-crete.com.au) and today I had my hosting service as Arvixe.com suspended and received the following email message from Arvixe sysadmin:
"The account has been suspended for high MySQL usage by database 'thrashin_ocarBC' "
Seems that the CPU spiked and stayed elevated at 100% for possibly up to two hours on their shared CROC server. The admin killed some offending queries and sent them to me:
root@croc [~]# mysqladmin proc | grep thrashin_ocarBC
| 113 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | Opening tables | SELECT * FROM oc_category c LEFT JOIN
oc_category_description cd ON (c.category_id = cd.category_id) |
| 189 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | Opening tables | SELECT * FROM oc_category c LEFT JOIN
oc_category_description cd ON (c.category_id = cd.category_id) |
| 267 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | Opening tables | SELECT * FROM oc_url_alias WHERE `query` =
'category_id=87' |
| 294 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 0 | Opening tables | SELECT * FROM oc_url_alias WHERE `query` =
'category_id=87' |
| 306 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | closing tables | SELECT * FROM oc_category c LEFT JOIN
oc_category_description cd ON (c.category_id = cd.category_id) |
| 361 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 0 | Opening tables | SELECT * FROM oc_url_alias WHERE `query` =
'category_id=87' |
| 477 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | Opening tables | SELECT * FROM oc_category c LEFT JOIN
oc_category_description cd ON (c.category_id = cd.category_id) |
| 549 | thrashin_ocarBC | localhost | thrashin_ocarBC | Query | 3 | Opening tables | SELECT * FROM oc_category c LEFT JOIN
oc_category_description cd ON (c.category_id = cd.category_id) |
|
I'd really appreciate it if anyone could help me understand what process may have kicked off the above, if any of it looks out of the ordinary and what might be the cause of the high CPU levels? Neither my client nor I were doing any work on the site at the time.
Don't know if this is useful info, but we have approximately 80 categories - I don't know if that is excessive?
Hope you can help me out, as I want to avoid another suspension, as it takes out a number of other domains I have hosted on the same account.
Cheers.
