Error: Out of resources when opening file './e_deky_oc/ocproduct_tags.MYD' (Errcode: 24 "Too many open files")
Error No: 23
SELECT t.name, (SELECT COUNT(pt2.product_id) FROM ocproduct_tags pt2 WHERE pt2.tag_id=t.id GROUP BY pt.product_id) AS total FROM ocproduct_tags pt, octags t WHERE t.id = pt.tag_id AND pt.product_id='610'