Troubleshooting Sucuri Security Plugin Performance and Slowdown Issues
Content
Many WordPress administrators rely on the Sucuri Security plugin for its robust auditing, malware scanning, and security hardening features. However, a common theme emerging from community support forums is that the plugin can sometimes introduce significant performance issues, particularly in the WordPress admin area. This guide will help you understand why these slowdowns happen and provide practical steps to resolve them.
Common Symptoms of Sucuri-Related Slowdowns
Users report a variety of performance problems linked to the Sucuri Security plugin, including:
- Extremely slow page loads in the WordPress admin (up to 60 seconds).
- Specific admin pages, like the Sucuri Dashboard or Settings, hanging or timing out.
- Slow login times, sometimes resulting in timeouts.
- High server CPU or memory usage, often in regular spikes.
- Slow publishing or updating of posts and pages.
- The entire site becoming unresponsive when accessing Sucuri's settings.
Why Do These Slowdowns Happen?
Based on analysis of community reports, the performance issues typically stem from a few specific plugin functions:
- API Communication & DNS Lookups: The plugin performs DNS lookups (using
gethostbyaddr()) on every page load to determine if the site is behind the Sucuri WAF or services like Cloudflare. If your DNS server is slow or there is a network issue, this can add significant latency to every page load. - XHR and Comment Monitoring: Certain monitoring features, like the XHR monitor, can hook deeply into WordPress and consume considerable resources, especially on sites with high traffic or on servers with limited resources.
- Scheduled File Scans: The plugin's core function is to scan your files for changes. On large sites or on underpowered servers, these scans can consume high amounts of CPU and memory, causing temporary slowdowns.
- API Service Outages or Network Issues: Occasionally, the plugin's attempts to communicate with Sucuri's API servers (
wordpress.sucuri.net) can hang due to network problems or DNS misconfigurations, causing processes to wait for a response.
How to Troubleshoot and Fix Sucuri Performance Issues
If you are experiencing slowdowns, try these solutions in order.
1. Disable API Service Communication and DNS Lookups
This is the most common fix for general slowness, especially on login and admin pages.
- Go to Sucuri Security → Settings → API Service.
- Find the option for API Service Communication and disable it.
- Next, go to Sucuri Security → Settings → General.
- Locate and disable the IP Address Discoverer option. This stops the DNS lookups on each page load.
Many users in the forums reported that this immediately resolved their timeout and slow login issues.
2. Disable Resource-Intensive Monitoring Features
If you are seeing high CPU usage, specific features may be the culprit.
- Navigate to Sucuri Security → Settings → General.
- Disable the following options:
- Allow XHR Monitor
- Comment Monitor
As one user noted, this simple change reduced their server's CPU consumption from 100% to around 10%.
3. Check for and Address Large Log Files
The plugin generates log files that can grow very large over time, slowing down file scans.
- Use your hosting file manager or FTP to access your site's root directory.
- Navigate to /wp-content/uploads/sucuri/.
- Look for large files, particularly
sucuri-oldfailedlogins.phpandsucuri-auditqueue.php. - You can safely delete these files. The plugin will regenerate them if needed.
- Consider setting up a recurring task to clean these logs if they grow too quickly.
4. Verify there are no DNS or Network Issues
Historical issues have occurred when Sucuri's API domain had DNS problems. You can test if your server can correctly resolve and connect to it.
- Ask your host or check if you can run command-line tools.
- Run:
host wordpress.sucuri.net. It should resolve to a current IP like192.124.249.16. - Run:
telnet wordpress.sucuri.net 443to see if a connection can be made on port 443. - If these commands hang or fail, your server's ability to communicate with Sucuri is impaired, which will cause the plugin to hang. In this case, disabling the API service (Step 1) is your best temporary workaround.
5. Review Scheduled Scan Timing
While the official scan is daily, other processes or conflicts might cause more frequent resource spikes. If you see performance issues every 15 minutes, use a plugin like "WP Crontrol" to inspect all scheduled WordPress tasks and see if a Sucuri-related event is running too often.
When All Else Fails
If the performance issues persist after trying these steps, the conflict may be more complex.
- Plugin Conflict: Deactivate all other plugins and see if the speed returns to normal. If it does, reactivate them one by one to identify the conflicting plugin.
- Revert to a Previous Version: Some users found that a specific update (e.g., 1.7.12) introduced problems. If a new version is causing issues, you can temporarily roll back to a previous stable version while waiting for a fix.
- Check Error Logs: Examine your server's PHP error log and WordPress debug log for any specific errors related to the Sucuri plugin or
admin-ajax.php.
By methodically working through these troubleshooting steps, you can likely identify and resolve the performance bottlenecks caused by the Sucuri Security plugin, allowing you to maintain both security and a responsive WordPress site.
Related Support Threads Support
-
Plugin Settings Being Resethttps://wordpress.org/support/topic/plugin-settings-being-reset/
-
Sucuri Scan slows the server every 15 minuteshttps://wordpress.org/support/topic/sucuri-scan-slows-the-server-every-15-minutes/
-
Sucuri causing login timeouthttps://wordpress.org/support/topic/sucuri-causing-login-timeout/
-
Admin Very Slow After Current Updatehttps://wordpress.org/support/topic/admin-very-slow-after-current-update/
-
High CPU time usage after 1.7.12 updatehttps://wordpress.org/support/topic/high-cpu-time-usage-after-1712-update/
-
Sucuri – Memcached conflicthttps://wordpress.org/support/topic/sucuri-memcached-conflict/
-
Memcached & Sucurihttps://wordpress.org/support/topic/memcached-sucuri/
-
Suddenly backedn extremely slow. TTFB is now 15 seconds.https://wordpress.org/support/topic/suddenly-backedn-extremely-slow-ttfb-is-now-15-seconds/
-
Entire website breaks for a few minutes after opening plugin pagehttps://wordpress.org/support/topic/entire-website-breaks-for-a-few-minutes-after-opening-plugin-page/
-
Sucuri totally Slows down admin pageshttps://wordpress.org/support/topic/sucuri-totally-slows-down-admin-pages/
-
Dramatic slowdown with xhr_monitor – all hookhttps://wordpress.org/support/topic/dramatic-slowdown-with-xhr_monitor-all-hook/
-
Sucuri DNS issue causing time-outs (+ high memory usage)https://wordpress.org/support/topic/sucuri-dns-issue-causing-time-outs-high-memory-usage/
-
What to do with the Sucuri cache?https://wordpress.org/support/topic/what-to-do-with-the-sucuri-cache/
-
Slow posting of content when Sucuri is activehttps://wordpress.org/support/topic/slow-posting-of-content-when-sucuri-is-active/
-
Login hangs when Sucuri is activehttps://wordpress.org/support/topic/login-hangs-when-sucuri-is-active/
-
Plugin Breaking 5.5 siteshttps://wordpress.org/support/topic/plugin-breaking-5-5-sites/
-
Using Sucuri on 100+ WordPress siteshttps://wordpress.org/support/topic/using-sucuri-on-100-wordpress-sites/
-
Caches not cleared for custom post typehttps://wordpress.org/support/topic/caches-not-cleared-for-custom-post-type/
-
Sucuri plugin breaks widget sectionhttps://wordpress.org/support/topic/sucuri-plugin-breaks-widget-section/
-
Sucuri secure 1.8.25 plugin causing one of the admin-ajax call fail in prodhttps://wordpress.org/support/topic/sucuri-secure-1-8-25-plugin-causing-one-of-the-admin-ajax-call-fail-in-prod/
-
Logins take too longhttps://wordpress.org/support/topic/logins-take-too-long/
-
Version 1.7.12 update affecting site performancehttps://wordpress.org/support/topic/version-1712-update-affecting-site-performance/
-
slowing server right downhttps://wordpress.org/support/topic/slowing-server-right-down/
-
Significant performance impact with latest v. 1.7.12https://wordpress.org/support/topic/significant-performance-impact-with-latest-v-1712/
-
Scheduled Tasks stuck – months / yearshttps://wordpress.org/support/topic/scheduled-tasks-stuck-months-years/
-
Crashed My Siteshttps://wordpress.org/support/topic/crashed-my-sites/
-
What are the correct settings for using Sucuri with CloudFlare?https://wordpress.org/support/topic/what-are-the-correct-settings-for-using-sucuri-with-cloudflare/
-
Page load timehttps://wordpress.org/support/topic/page-load-time-1/
-
Sucuri Security plugin using CloudFlare slows siteshttps://wordpress.org/support/topic/sucuri-security-plugin-using-cloudflare-slows-sites/
-
Impact load timeshttps://wordpress.org/support/topic/impact-load-times/
-
Sudden slowdown of sitehttps://wordpress.org/support/topic/sudden-slowdown-of-site/
-
Sucuri uninstall bughttps://wordpress.org/support/topic/sucuri-uninstall-bug/
-
CPU 100% consumption – culprit and solution includedhttps://wordpress.org/support/topic/cpu-100-consumption-culprit-and-solution-included/
-
Files slow down websitehttps://wordpress.org/support/topic/files-slow-down-website/
-
Sucuri plugin makes admin hang for 60 secondshttps://wordpress.org/support/topic/sucuri-plugin-makes-admin-hang-for-60-seconds/
-
new install of 1.7.9 slows site to a crawl?https://wordpress.org/support/topic/new-install-of-179-slows-site-to-a-crawl/