Error Database: Out of resources when opening file '/tmp/#sql_3cf_0.MAD' (Errcode: 24 "Too many open files")