kontrabass
Well-known member
Hi!
I installed an addon by Xon that tracks slow queries, and I have found a correlation between a bunch of slow deferred.php queries and my forum going down for about 20 seconds.
Here are the slow queries that caused the latest outage:
And detail:
I'm wondering if anyone can give me insight into what exactly is being done here, and if there's anything I can do to optimize it.
Thanks!
I installed an addon by Xon that tracks slow queries, and I have found a correlation between a bunch of slow deferred.php queries and my forum going down for about 20 seconds.
Here are the slow queries that caused the latest outage:
And detail:
Code:
Error Info Exception: Slow query detected: 13.7503 seconds, /deferred.php - library/SV/SlowQueryLogger/Profiler.php:126
Generated By: Unknown Account, 6 minutes ago
Stack Trace #0 /home/talkbass/html/library/Zend/Db/Statement.php(319): SV_SlowQueryLogger_Profiler->queryEnd(0)
#1 /home/talkbass/html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/talkbass/html/library/XenForo/Model/DataRegistry.php(164): Zend_Db_Adapter_Abstract->query('\r\n\t\t\tINSERT INT...', Array)
#3 /home/talkbass/html/library/XenForo/Model/Deferred.php(188): XenForo_Model_DataRegistry->set('deferredRun', 1504806321)
#4 /home/talkbass/html/deferred.php(21): XenForo_Model_Deferred->setNextDeferredTime(1504806321)
#5 {main}Request State array(3) {
["url"] => string(37) "https://www.talkbass.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(27) "/forums/luthiers-corner.57/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
I'm wondering if anyone can give me insight into what exactly is being done here, and if there's anything I can do to optimize it.
Thanks!