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-b0b8-305.MAD' (Errcode: 23 "Too many open files in system")