Understanding scan progress helps you monitor your site’s security status and optimize performance. Content Guard Pro provides detailed metrics during and after scans.
Real-Time Progress Display #
During an active scan, the progress panel shows:
Progress Bar #
- Visual representation of completion percentage
- Updates in real-time as batches complete
- Color indicates status (blue = running, green = complete, red = error)
Scan Statistics #
| Metric | Description |
| ——– | ————- |
| Items Scanned | Current count / Total items |
| Current Phase | Posts, Postmeta, or Options |
| Findings | Issues detected so far |
| Elapsed Time | How long the scan has been running |
| Estimated Time | Approximate time remaining |
Current Item #
Shows what’s being scanned:
- Post title and ID for post content
- Meta key for postmeta
- Option name for options
Performance Metrics #
Memory Usage #
- Current: Memory used by the current batch
- Peak: Highest memory usage during scan
- Limit: Your PHP memory limit
Warning: If current memory approaches the limit, the scan may fail. Consider enabling Safe Mode.
Query Time #
- Average: Mean database query time
- Threshold: 300ms (beyond this, throttling activates)
High query times indicate:
- Database server load
- Need for database optimization
- Hosting limitations
Batch Rate #
- Items/second: Processing speed
- Batches/minute: Batch completion rate
Lower rates may indicate:
- Resource throttling active
- Safe Mode enabled
- Hosting performance issues
Auto-Throttling #
Content Guard Pro automatically adjusts performance to prevent overloading your server:
Throttling Triggers #
- Average query time exceeds 300ms
- Memory usage exceeds 50% of limit
- Batch runtime exceeds 5 seconds
Throttling Actions #
1. Reduce batch size: Fewer items per batch
2. Increase delay: Longer pause between batches
3. Enable Safe Mode: Strictest resource limits
Throttling Indicators #
Look for these in the progress display:
- “Throttling active” message
- Reduced items per batch
- Longer estimated completion time
Resumable Scans #
Scans can be interrupted and resumed without losing progress:
Automatic Resume #
If a scan is interrupted (timeout, error, page reload):
1. Progress is automatically saved
2. Next cron run continues from last checkpoint
3. No items are re-scanned
Manual Resume #
1. Go to Content Guard Pro → Scans
2. See “Paused scan detected” message
3. Click Resume Scan
When to Restart Instead #
Consider restarting a scan if:
- Detection patterns were updated
- Content was significantly changed
- The paused scan is very old (> 24 hours)
Scan Completion #
When a scan finishes, you’ll see:
Summary Statistics #
- Total items scanned
- Total findings by severity
- Scan duration
- Performance averages
Actions Available #
- View Findings: See all detected issues
- Export Report: Download CSV/JSON
- Schedule Next Scan: Set up automation
Post-Scan Notifications #
Based on your settings:
- Admin notice (if enabled)
- Email alert (if critical findings)
- Webhook (if configured)
Optimizing Scan Performance #
For Faster Scans #
1. Use Quick Scan mode for routine checks
2. Schedule during low-traffic hours
3. Ensure database is optimized (run WP-CLI wp db optimize)
4. Use quality hosting with sufficient PHP resources
For Resource-Constrained Environments #
1. Enable Safe Mode
2. Reduce batch size (Settings → Performance)
3. Increase batch delay
4. Use scheduled scans during off-peak hours
Performance Settings #
Go to Content Guard Pro → Settings → Performance:
| Setting | Default | Range | Description |
| ——— | ——— | ——- | ————- |
| Batch Size | 100 | 10-500 | Items per batch |
| Batch Delay | 2 | 1-60 | Seconds between batches |
| Safe Mode | Auto | Auto/On/Off | Resource-conservative mode |
See Performance Tuning for detailed configuration.