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