cache config 1205 Lock wait timeout error

Created on 25 April 2023, about 2 years ago

After upgrade to 9.5.8, cache system is wonky - and won't allow clearing the cache most of the time. I get this error a lot in the log. Many times the site becomes unresponsive and I have to reboot to even get the database to respond again. phpmyadmin or trying to reset using systemctl does not work, but the server is active in all other ways

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: INSERT INTO "cache_config" ("cid", "expire", "created", "tags", "checksum", "data", "serialized") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6) ON DUPLICATE KEY UPDATE "cid" = VALUES("cid"), "expire" = VALUES("expire"), "created" = VALUES("created"), "tags" = VALUES("tags"), "checksum" = VALUES("checksum"), "data" = VALUES("data"), "serialized" = VALUES("serialized"); Array ( [:db_insert_placeholder_0] => language.en:system.logging [:db_insert_placeholder_1] => -1 [:db_insert_placeholder_2] => 1682431548.545 [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => b:0; [:db_insert_placeholder_6] => 1 ) in Drupal\Core\Cache\DatabaseBackend->doSetMultiple() (line 273 of /var/www/public_html/core/lib/Drupal/Core/Cache/DatabaseBackend.php)
#0 /var/www/public_html/core/lib/Drupal/Core/Database/Query/Upsert.php(119): Drupal\mysql\Driver\Database\mysql\ExceptionHandler->handleExecutionException(Object(PDOException), Object(Drupal\Core\Database\StatementWrapper), Array, Array)

. . . and more

Operating system CentOS Linux 7.9.2009
Perl version 5.016003
Path to Perl /usr/bin/perl
Python version 3.6.8
Path to Python /bin/python3
BIND version 9.11
Postfix version 2.10.1
Mail injection command /usr/lib/sendmail -t
Apache version 2.4.51
PHP versions 5.6.40, 7.3.33
Logrotate version 3.8.6
MariaDB version 10.3.32
ProFTPD version 1.35
SpamAssassin version 3.4.0
ClamAV version 0.103.4

πŸ› Bug report
Status

Active

Version

9.5

Component
CacheΒ  β†’

Last updated 12 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bobburns

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024