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