I continue to have database errors on my site. Virtually all these errors involve cache operations, the most common being flagged as occurring in /** saveDbCache. Timeouts are the most common reason given.
Attached is a typical failed query. It's over 250,000 characters (not bytes) in length. Here is the error portion of the error message
Questions
Attached is a typical failed query. It's over 250,000 characters (not bytes) in length. Here is the error portion of the error message
Code:
MySQL Error : Lock wait timeout exceeded; try restarting transaction Error Number : 1205 Request Date : Wednesday, November 9th 2022 @ 02:08:16 AM Error Date : Wednesday, November 9th 2022 @ 02:12:32 AM Script : https://organforum.com/forums/forum/electronic-organs-midi/classic-church-electronic-organs/6249-rodgers-900b-information Referrer : https://www.bing.com/ IP Address : 173.64.81.124 Username : Guest Classname : vB_Database_MySQLi MySQL Version : Stack Trace: #0 vB_Database->getErrorData() called in phar://[path]/vb/vb.phar/database.php on line 1203 [NODE="1"]Home[/NODE] vB_Database->halt() called in phar://[path]/vb/vb.phar/database/mysqli.php on line 236 [NODE="2"]Forum[/NODE] vB_Database_MySQLi->execute_query() called in phar://[path]/vb/vb.phar/database.php on line 587 #3 vB_Database->query_write() called in phar://[path]/vb/vb.phar/db/mysql/querydefs.php on line 7454 [NODE="4"]Blogs[/NODE] vB_dB_MYSQL_QueryDefs->saveDbCache() called in phar://[path]/vb/vb.phar/db/query/method.php on line 67 [NODE="5"]Groups[/NODE] vB_dB_Query_Method->execSQL() called in phar://[path]/vb/vb.phar/db/assertor.php on line 245 [NODE="6"]Uncategorized Groups[/NODE] vB_dB_Assertor->assertQuery() called in phar://[path]/vb/vb.phar/cache/db.php on line 379 [NODE="7"]Special[/NODE] vB_Cache_Db->shutdown() called in phar://[path]/vb/vb.phar/shutdown.php on line 92 [NODE="8"]Visitor Messages[/NODE] vB_Shutdown->shutdown() called in [path]/vb/vb.php on line 471 [NODE="9"]Private Messages[/NODE] vB::shutdown() called in on line
- Is the size of this query in an expected normal range?
- If the transaction fails, is it retried? How many times? What are the consequences if transaction is never completed?
- Does vB:shutdown() signal the MySQL server to shutdown?
Comment