[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1016) Can't open file: './vrtbase/b_file.frm' (errno: 24 - Too many open files) (400)
SELECT 
	`main_file`.`ID` AS `ID`,
	`main_file`.`TIMESTAMP_X` AS `TIMESTAMP_X`,
	`main_file`.`MODULE_ID` AS `MODULE_ID`,
	`main_file`.`HEIGHT` AS `HEIGHT`,
	`main_file`.`WIDTH` AS `WIDTH`,
	`main_file`.`FILE_SIZE` AS `FILE_SIZE`,
	`main_file`.`CONTENT_TYPE` AS `CONTENT_TYPE`,
	`main_file`.`SUBDIR` AS `SUBDIR`,
	`main_file`.`FILE_NAME` AS `FILE_NAME`,
	`main_file`.`ORIGINAL_NAME` AS `ORIGINAL_NAME`,
	`main_file`.`DESCRIPTION` AS `DESCRIPTION`,
	`main_file`.`HANDLER_ID` AS `HANDLER_ID`,
	`main_file`.`EXTERNAL_ID` AS `EXTERNAL_ID`
FROM `b_file` `main_file` 

WHERE `main_file`.`ID` >= 7840
AND `main_file`.`ID` <= 7849
/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/lib/orm/data/datamanager.php:500
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/file.php:492
#5: CAllFile::GetFromCache(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/file.php:664
#6: CAllFile::GetFileArray(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/file.php:1167
#7: CAllFile::_GetImgParams(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/components/prior/og.view/component.php:95
#8: include(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/component.php:605
#9: CBitrixComponent->__includeComponent()
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/component.php:664
#10: CBitrixComponent->includeComponent(string, array, NULL)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/classes/general/main.php:1039
#11: CAllMain->IncludeComponent(string, string, array)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/templates/vrt/header.php:72
#12: include_once(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/include/prolog_after.php:106
#13: require(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/include/prolog.php:11
#14: require_once(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/header.php:1
#15: require(string)
	/var/www/vrt/data/www/wait-kids.ru/encyclopedia/articles/index.php:2
#16: include_once(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/modules/main/include/urlrewrite.php:159
#17: include_once(string)
	/var/www/vrt/data/www/wait-kids.ru/bitrix/urlrewrite.php:2