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-229-214875-33fa2.MAD' (Errcode: 23 "Too many open files in system")