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