WordPress database error Lock wait timeout exceeded
-
One of our WordPress sites has developed this error, not sure how long it’s been, but recently the main page sometimes takes nearly a min to load, so I suspect this might have something to do with it. Below is some of the log, they’re all the same. I’ve looked into the database, there are like over 600,000 entries in wppa_session table, most of them say “expired”. Any pointer to how to begin diagnosing this issue would be very much appreciated.
Thanks
KennethP.S. I am a network administrator, but our residence WordPress expert has recently left the company to immigrate overseas, so I might need somewhat more help.
[Fri May 06 16:09:37.022997 2022] [php7:notice] [pid 30964] [client 207.244.234.219:50696] WordPress database error Lock wait timeout exceeded; try restarting transaction for query UPDATE wp1_wppa_session\r\n\t\t\t\t\t\t SET ip = ”, user = ”, data = ”\r\n\t\t\t\t\t\t WHERE status = ‘expired’\r\n\t\t\t\t\t\t AND data NOT LIKE ‘%”isrobot”;b:1;%’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, wppa_session_start, referer: https://gemy.link/81L8v
The page I need help with: [log in to see the link]
The topic ‘WordPress database error Lock wait timeout exceeded’ is closed to new replies.