Hi All.
A few hours ago I tried to spam clean a big user. This made the site unusable. Ever since then (2+ hours now) the site is up but anything we try to do results in the same Mysql lock wait error.
Here is the first logged error
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1205, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1205, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(326): XF\Db\AbstractAdapter->query('UPDATE `xf_for...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1515): XF\Db\AbstractAdapter->update('xf_forum', Array, '
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Entity/Thread.php(1373): XF\Mvc\Entity\Entity->save()
#7 src/XF/Entity/Thread.php(1177): XF\Entity\Thread->updateForumRecord()
#8 src/addons/AddonsLab/GuestPosting/XF/Entity/Thread.php(128): XF\Entity\Thread->_postSave()
#9 src/addons/ThemeHouse/AttachmentGallery/XF/Entity/Thread.php(9): AddonsLab\GuestPosting\XF\Entity\Thread->_postSave()
#10 src/addons/XFES/XF/Entity/Thread.php(11): ThemeHouse\AttachmentGallery\XF\Entity\Thread->_postSave()
#11 src/XF/Mvc/Entity/Entity.php(1266): XFES\XF\Entity\Thread->_postSave()
#12 src/XF/Entity/Post.php(624): XF\Mvc\Entity\Entity->save()
#13 src/XF/Entity/Post.php(582): XF\Entity\Post->updateThreadRecord()
#14 src/addons/AddonsLab/GuestPosting/XF/Entity/Post.php(88): XF\Entity\Post->_postSave()
#15 src/addons/XFES/XF/Entity/Post.php(9): AddonsLab\GuestPosting\XF\Entity\Post->_postSave()
#16 src/XF/Mvc/Entity/Entity.php(1266): XFES\XF\Entity\Post->_postSave()
#17 src/XF/Service/Thread/Replier.php(209): XF\Mvc\Entity\Entity->save(true, false)
#18 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#19 src/XF/Pub/Controller/Thread.php(600): XF\Service\Thread\Replier->save()
#20 src/addons/AddonsLab/GuestPosting/XF/Pub/Controller/Thread.php(69): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#21 src/XF/Mvc/Dispatcher.php(350): AddonsLab\GuestPosting\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#22 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#23 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#24 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#25 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#26 src/XF.php(512): XF\App->run()
#27 index.php(20): XF::runApp('XF\\Pub\\App')
#28 {main}
Any advice would be appreciated. My host has no idea what to do. They feel restarting will mess with the integrity of the data.
A few hours ago I tried to spam clean a big user. This made the site unusable. Ever since then (2+ hours now) the site is up but anything we try to do results in the same Mysql lock wait error.
Here is the first logged error
- XF\Db\Exception: MySQL query error [1205]: Lock wait timeout exceeded; try restarting transaction
- src/XF/Db/AbstractStatement.php:228
- Generated by: utropia90
- Mar 15, 2022 at 6:56 PM
Stack trace
UPDATExf_forum
SET message_count
= ?, last_post_date
= ?, last_post_id
= ?, last_post_user_id
= ?, last_post_username
= ?, last_thread_id
= ?, last_thread_title
= ? WHERE node_id
= 17------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1205, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1205, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(326): XF\Db\AbstractAdapter->query('UPDATE `xf_for...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1515): XF\Db\AbstractAdapter->update('xf_forum', Array, '
node_id
= 17')#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Entity/Thread.php(1373): XF\Mvc\Entity\Entity->save()
#7 src/XF/Entity/Thread.php(1177): XF\Entity\Thread->updateForumRecord()
#8 src/addons/AddonsLab/GuestPosting/XF/Entity/Thread.php(128): XF\Entity\Thread->_postSave()
#9 src/addons/ThemeHouse/AttachmentGallery/XF/Entity/Thread.php(9): AddonsLab\GuestPosting\XF\Entity\Thread->_postSave()
#10 src/addons/XFES/XF/Entity/Thread.php(11): ThemeHouse\AttachmentGallery\XF\Entity\Thread->_postSave()
#11 src/XF/Mvc/Entity/Entity.php(1266): XFES\XF\Entity\Thread->_postSave()
#12 src/XF/Entity/Post.php(624): XF\Mvc\Entity\Entity->save()
#13 src/XF/Entity/Post.php(582): XF\Entity\Post->updateThreadRecord()
#14 src/addons/AddonsLab/GuestPosting/XF/Entity/Post.php(88): XF\Entity\Post->_postSave()
#15 src/addons/XFES/XF/Entity/Post.php(9): AddonsLab\GuestPosting\XF\Entity\Post->_postSave()
#16 src/XF/Mvc/Entity/Entity.php(1266): XFES\XF\Entity\Post->_postSave()
#17 src/XF/Service/Thread/Replier.php(209): XF\Mvc\Entity\Entity->save(true, false)
#18 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#19 src/XF/Pub/Controller/Thread.php(600): XF\Service\Thread\Replier->save()
#20 src/addons/AddonsLab/GuestPosting/XF/Pub/Controller/Thread.php(69): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#21 src/XF/Mvc/Dispatcher.php(350): AddonsLab\GuestPosting\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#22 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#23 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#24 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#25 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#26 src/XF.php(512): XF\App->run()
#27 index.php(20): XF::runApp('XF\\Pub\\App')
#28 {main}
Any advice would be appreciated. My host has no idea what to do. They feel restarting will mess with the integrity of the data.