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