Tygh\Exceptions\AException

Message

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

SELECT cscart_products_categories.product_id, GROUP_CONCAT(IF(cscart_products_categories.link_type = "M", CONCAT(cscart_products_categories.category_id, "M"), cscart_products_categories.category_id)) AS category_ids, product_position_source.position AS position FROM cscart_products_categories INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') LEFT JOIN cscart_products_categories AS product_position_source ON cscart_products_categories.product_id = product_position_source.product_id AND product_position_source.category_id = 454 WHERE cscart_products_categories.product_id IN (158923, 62107, 62106, 88805, 71219, 140568, 178146, 88782, 190086, 62898, 60077, 62646) GROUP BY cscart_products_categories.product_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:249
Function:query
File:app/functions/fn.database.php
Line:44
Function:getHash
File:app/functions/fn.catalog.php
Line:7928
Function:db_get_hash_array
File:app/functions/fn.catalog.php
Line:7840
Function:fn_load_extra_data_by_entity_ids
File:app/functions/fn.catalog.php
Line:7628
Function:fn_load_products_extra_data
File:app/controllers/frontend/categories.php
Line:105
Function:fn_get_products
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