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