Error of SQL Query: select file.id, file.name, file.price, file.img, catalog.name as cat_name, catalog.id as cat_id from shop_catalogs as catalog, shop_files as file where catalog.id = file.catalog_id order by rand() limit 4 1: Can't create/write to file '/tmp/#sql-temptable-237-af56-525.MAD' (Errcode: 23 "Too many open files in system")