Tygh\Exceptions\AException

Message

Out of resources when opening file './highload_demo_mv/cscart_common_descriptions.MYD' (Errcode: 24 - Too many open files) (23)

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 = '336' ORDER BY cscart_images_links.position, cscart_images_links.pair_id

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:491
Function:throwError
File:app/Tygh/Database/Connection.php
Line:224
Function:query
File:app/functions/fn.database.php
Line:31
Function:getArray
File:app/functions/fn.images.php
Line:312
Function:db_get_array
File:app/functions/fn.catalog.php
Line:1991
Function:fn_get_image_pairs
File:app/controllers/frontend/categories.php
Line:76
Function:fn_get_category_data
File:app/functions/fn.control.php
Line:679
Function:include
File:app/functions/fn.control.php
Line:430
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch