DATABASE ERROR:

SELECT 1 FROM cms_user_friends WHERE (from_id = '5767' OR to_id = '5767') AND is_accepted =1

Out of resources when opening file './twistik_ridder/cms_user_friends.MYD' (Errcode: 24 - Too many open files)