Добрый день.
Bitrix 18.0.2 / УТ 11.3.4.228 / Модуль 7.0.1.1
Возникла большая проблема.
При экспорте из 1С получаю вот такие вот ошибки:[CODE]<pre>[Bitrix\Main\DB\SqlQueryException]
Mysql query error: (1213) Deadlock found when trying to get lock; try restarting transaction (400)
DELETE FR OM b_iblock_element_iprop
WHERE IBLOCK_ID = 31
AND ELEMENT_ID in (
SEL ECT BSE.IBLOCK_ELEMENT_ID
FR OM b_iblock_section_element BSE
INNER JOIN b_iblock_section BS ON BSE.IBLOCK_SECTION_ID = BS.ID AND BSE.ADDITIONAL_PROPERTY_ID IS NULL
WH ERE BS.IBLOCK_ID = 31
AND BS.LEFT_MARGIN <= 1003
AND BS.RIGHT_MARGIN >= 1002
)
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection
.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty
/sectionvalues.php:174
#2: Bitrix\Iblock\InheritedProperty\SectionValues->clearValues()
/home/bitrix/www/bitrix/modules/iblock/classes/general/cml2.php:4645
#3: CIBlockCMLImport->ImportSection(string, string, string)
/home/bitrix/www/bitrix/modules/iblock/classes/general/cml2.php:4658
#4: CIBlockCMLImport->ImportSection(string, string, boolean)
/home/bitrix/www/bitrix/modules/iblock/classes/general/cml2.php:1242
#5: CIBlockCMLImport->ImportSections()
/home/bitrix/www/bitrix/components/bitrix/catalog.import.1c/component.php:463
#6: include(string)
/home/bitrix/www/bitrix/modules/main/classes/general/compone
nt.php:594
#7: CBitrixComponent->__includeComponent()
/home/bitrix/www/bitrix/modules/main/classes/general/compone
nt.php:102
#8: CBitrixComponent->executeComponent()
/home/bitrix/www/bitrix/modules/main/classes/general/compone
nt.php:638
#9: CBitrixComponent->includeComponent(string, array, NULL)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1037
#10: CAllMain->IncludeComponent(string, string, array)
/home/bitrix/www/bitrix/modules/sale/admin/1c_exchange.php:90
#11: require_once(string)
/home/bitrix/www/bitrix/admin/1c_exchange.php:2
</pre>
[/CODE]
Ошибки такие валятся пачками - особенно на больших разделах дерева.
После чего в битриксе пропадают разделы каталога вместе со всем содержимым.
Не могу понять в чём проблема, после таких экспортов потом начинаются проблемы с остальным окружением Apache + Mysql - любой поиск отбивает следующее:
[CODE]Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 536870920 bytes) in /home/bitrix/www/bitrix/modules/iblock/classes/general/iblocksection.php on line 267[/CODE]