Closed wabetainfo closed 7 months ago
This is a puzzling situation. I wonder if your site is hitting some sort of MySQL deadlock; that might prevent the release of the SQLite database file. (Your out-of-sync problem with Jetpack's shutdown hook handler suggests a misbehaving plugin someplace; that error occurs when some software uses the database connection before some other use of it is completed: that is, when the misbehaving software doesn't retrieve an entire result set).
Is it possible for you to try reducing the lock wait timeout on your DBMS, temporarily? That may result in the generation of a useful error report. https://mariadb.com/kb/en/innodb-system-variables/#innodb_lock_wait_timeout
Using a MySQL client (phpmyadmin, for example) to do
SET GLOBAL innodb_lock_wait_timeout = 14;
will set the timeout to 14 seconds, just shy of the 15 seconds you use for your SQLite timeout.
The default lock wait timeout is 50 seconds. So, increasing the SQLite timeout to 20 seconds would have a similar effect (we try three times).
Thanks for your patience.
Thank you for your answer. Currently, I no longer experience the out-of-sync issue, and I've noticed that your plugin is also no longer causing timeouts. I'm not sure if it's a coincidence or not, but I believe there might be a connection. After installing the latest update of your plugin, I remember my website not encountering timeout issues anymore, but they started again following the out-of-sync problem. That's why I think there could be some connection between the two cases. In case timeout issues reoccur or if the out-of-sync problem happens again (which might be the cause of the plugin experiencing timeout issues), I will follow your suggestion regarding innodb_lock_wait_timeout and provide feedback here.
Thanks for your assistance!
That's good news! Thanks for letting me know.
Hi, As requested on the support forum, this the description of my website:
Instead, this is the error found in the debug file:
To fix the timeout issue, I had to delete object-cache.php and all database files created by the plugin, then I was able to disable the plugin. It's worth noting that I have these two lines in my wp-config file:
I think it is also important to mention that I recently experienced a problem with the database. I don't know if the two issues are related, but I thought it was better to point it out.
Thanks for your work and dedication in investigating!