Excessive CPU usage/slow database queries + possible comments issue(?)
-
Hey there, so I’ve had an absolute nightmare of an issue with my hosting provider, who took down my small websites due to excessive CPU usage. After much back and forth with them, they said the issue appears to be related to your plugin.
Regarding the issue at hand, I can confirm that the main cause for the resource overuse are the numerous admin-ajax.php executions which [name] already included in his last report. The previously shown slow database queries do point towards a performance problem with your website, but they are a result of the same script execution spike.
All of them are related to the execution of an event called scd_query_next_event. According to our checks, it is a part of the smart-countdown-fx plugin which is currently installed in your WordPress application. The problematic code in this case related to one of its widgets as shown here:
” add_action ( ‘wp_ajax_nopriv_scd_query_next_event’, ‘SmartCountdown_Widget::queryNextEvent’ );
add_action ( ‘wp_ajax_scd_query_next_event’, ‘SmartCountdown_Widget::queryNextEvent’ );”For example, the web traffic statistics of [main site] show it had 22,514 unique visitors for September. However, even if we take only the script executions related to the scd_query_next_event task and disregard each other PHP script, we get a total of 563,059 executions up to this point:
I’m still trying to get access to my account to disable the plugin until a fix can be made, but I thought you should know. (It’s been great up until this point!)
Also, could your plugin affect how comments are displayed at all? On this website only (which is the only one I use it on), all of my posts display the comments for the very first post ever made on the site (4 years ago). I thought it was a problem with the SG Optimizer plugin, as it happened every time the cache was cleared, but they’re insisting it’s not, and yours is the only different plugin I can think of.
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Excessive CPU usage/slow database queries + possible comments issue(?)’ is closed to new replies.