[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (2002) No such file or directory (400)
/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/connection.php:358
#3: Bitrix\Main\DB\Connection->queryScalar(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/composite/internals/locker.php:25
#4: Bitrix\Main\Composite\Internals\Locker::lock(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/composite/engine.php:473
#5: Bitrix\Main\Composite\Engine::processPageContent(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/lib/composite/engine.php:420
#6: Bitrix\Main\Composite\Engine::endBuffering(string, string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/classes/general/main.php:3194
#7: CAllMain->EndBufferContent(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/classes/general/main.php:3138
#8: CAllMain->EndBufferContentMan()
	/var/www/region/data/www/region-media.com/bitrix/modules/main/include/epilog_after.php:36
#9: require(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/include/epilog.php:3
#10: require_once(string)
	/var/www/region/data/www/region-media.com/bitrix/footer.php:4
#11: require(string)
	/var/www/region/data/www/region-media.com/services/index.php:168
#12: include_once(string)
	/var/www/region/data/www/region-media.com/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/var/www/region/data/www/region-media.com/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/mysqlcommonconnection.php(132): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/connection.php(716): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/sqlhelper.php(387): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/entity/datamanager.php(974): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'hhJQ0xeOn6XeUGB...') #4 /var/www/region/data/www/region-media.com/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\Entity in /var/www/region/data/www/region-media.com/bitrix/modules/main/lib/db/mysqliconnection.php on line 137