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