Out of resources when opening file '/var/tmp/#sql_592f_0.MAD' (Errcode: 24)