[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost:3306]: (1040) Too many connections (400)
/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string, NULL)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/connection.php:379
#3: Bitrix\Main\DB\Connection->queryExecute(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/php_interface/after_connect_d7.php:3
#4: include(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/connection.php:921
#5: Bitrix\Main\DB\Connection->afterConnected()
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php:81
#6: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php:122
#7: Bitrix\Main\DB\MysqliConnection->queryInternal(string, NULL, NULL)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/connection.php:330
#8: Bitrix\Main\DB\Connection->query(string, NULL, integer, integer)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/connection.php:358
#9: Bitrix\Main\DB\Connection->queryScalar(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/security/lib/session.php:110
#10: Bitrix\Security\SessionTable::lock(string, integer)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/security/classes/general/session_db.php:52
#11: CSecuritySessionDB::read(string)
	
#12: session_start()
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/include.php:281
#13: require_once(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/header.php:1
#16: require(string)
	/var/www/vhosts/grupovina.rs/httpdocs/katalog/index.php:2
#17: include_once(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/var/www/vhosts/grupovina.rs/httpdocs/bitrix/urlrewrite.php:2

Fatal error: Uncaught Bitrix\Main\DB\ConnectionException: Mysql connect error [localhost:3306]: (1040) Too many connections in /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php:65 Stack trace: #0 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/data/connection.php(53): Bitrix\Main\DB\MysqliConnection->connectInternal() #1 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqlisqlhelper.php(21): Bitrix\Main\Data\Connection->getResource() #2 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/sqlhelper.php(504): Bitrix\Main\DB\MysqliSqlHelper->forSql('5eM5jn3qGpmpbCu...', NULL) #3 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/orm/fields/stringfield.php(142): Bitrix\Main\DB\SqlHelper->convertToDbString('5eM5jn3qGpmpbCu...') #4 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/sqlhelper.php(415): Bitrix\Main\ORM\Fields\StringField->convertValueToDb('5eM5jn3qGpmpbCu...') #5 /var/www/vhosts/grupovina.rs/httpdocs/bitrix/m in /var/www/vhosts/grupovina.rs/httpdocs/bitrix/modules/main/lib/db/mysqliconnection.php on line 65