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