DB QUERY ERROR (query()): Out of resources when opening file './gbb_2017/menu.MYD' (Errcode: 24 - Too many open files)

SELECT * FROM menu WHERE parentid = 106 ORDER BY displayorder