Tygh\Exceptions\AException

Message

Can't open file: './highload_demo_mv/cscart_images.frm' (errno: 24 - Too many open files) (1016)

SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN ('862', '1226', '857', '1210', '1043') ORDER BY cscart_images_links.position, cscart_images_links.pair_id

Error at

app/Tygh/Database/Connection.php, line: 1139

Backtrace

File:app/Tygh/Database/Connection.php
Line:503
Function:throwError
File:app/Tygh/Database/Connection.php
Line:236
Function:query
File:app/functions/fn.database.php
Line:31
Function:getArray
File:app/functions/fn.images.php
Line:271
Function:db_get_array
File:app/functions/fn.catalog.php
Line:1737
Function:fn_get_image_pairs
File:app/functions/fn.catalog.php
Line:1266
Function:fn_get_categories
File:app/controllers/frontend/categories.php
Line:73
Function:fn_get_subcategories
File:app/functions/fn.control.php
Line:665
Function:include
File:app/functions/fn.control.php
Line:423
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch