Tygh\Exceptions\AException

Message

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

SELECT cscart_bm_snapping.grid_id as grid_id,cscart_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,cscart_bm_block_statuses.object_ids as object_ids,cscart_bm_snapping.*,cscart_bm_blocks.*,cscart_bm_blocks_descriptions.* FROM cscart_bm_snapping LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id AND cscart_bm_block_statuses.object_type LIKE '' LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 0 AND dynamic_object_content.object_type like '' WHERE cscart_bm_snapping.grid_id IN (293, 294, 295, 296, 297, 298, 301, 299, 300, 304, 307, 312, 305, 306, 308, 309, 310, 311, 313, 314, 341, 342, 343) AND cscart_bm_blocks_descriptions.lang_code='uk' ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_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:341
Function:query
File:app/functions/fn.database.php
Line:94
Function:getMultiHash
File:app/Tygh/BlockManager/Block.php
Line:275
Function:db_get_hash_multi_array
File:app/Tygh/BlockManager/RenderManager.php
Line:141
Function:getList
File:app/functions/smarty_plugins/function.render_location.php
Line:50
Function:__construct
File:var/cache/templates/bright_theme/776a5a06ad55e65c3aa4d5908bf5894a1dd80385.tygh.index.tpl.php
Line:183
Function:smarty_function_render_location
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5de796b0a42064_40951597
File:app/Tygh/SmartyEngine/Core.php
Line:76
Function:fetch
File:app/functions/fn.control.php
Line:595
Function:fetch
File:index.php
Line:25
Function:fn_dispatch