Стоит модификатор от для очистки сессий от Агата.
Сегодня, впервые за 2 года использования модификатора, vps упал ночью.
В логах ошибок в это время такие записи:
2023/01/29 01:59:18 [error] 342242#0: *465301 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Error: Lock wait timeout exceeded; try restarting transaction<br />Error No: 1205<br />DELETE FROM `xx_session` WHERE expire < DATE_SUB(NOW(), INTERVAL 87840 SECOND); in /www/xx/xx/system/library/db/mysqli.php:41
Stack trace:
#0 /www/xx/storage/modification/system/library/db.php(61): DB\MySQLi->query('DELETE FROM `xx...')
#1 /www/xx/storage/modification/system/library/session/db.php(22): DB->query('DELETE FROM `xx...')
#2 /www/xx/xx/system/library/session.php(29): Session\DB->__construct(Object(Registry))
#3 /www/xx/xx/system/framework.php(84): Session->__construct('db', Object(Registry))
#4 /www/xx/xx/system/startup.php(104): require_once('/www/xx/xx...')
#5 /www/xx/xx/index.php(19): start('catalog')
#6 {main}
thrown in /www/xx/xx/system/library/db/mysqli.php on line 41" while reading response header from upstream, client: 114.119.142.236, server: xx.ua, request: "GET /xx/ixx.html HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-73.sock:", host: "xx.ua"
я так понимаю, это связано с очисткой сессий в базе данных? Как разобраться в причине сбоя?