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