How can I handle a high CPU load on my Core server
Overview This article outlines steps and best practices to troubleshoot and resolve high CPU load issues on your OPSWAT Core server. A high CPU load can lead to decreased file processing performance and can affect the overall system throughput. By following these guidelines, you can optimize your server’s performance and ensure efficient scanning operations.
To effectively troubleshoot and resolve high CPU load issues on your OPSWAT MetaDefender Core server, please follow the steps and best practices outlined below. High CPU load can lead to decreased file processing performance and affect overall system throughput. By adhering to these guidelines, you can optimize your server's performance and ensure efficient scanning operations.
Symptoms
- Noticeable slowdown in file scanning and processing
- Increased average processing time per object
- Elevated CPU utilization consistently exceeding recommended thresholds
Potential Causes
- Configuration Settings: Overly aggressive parallel scan counts or a high queue size can stress the CPU.
- Engine Issues: Outdated or misconfigured scanning engines (e.g., FileType engine issues) may consume excessive CPU resources.
- System Resources: Inadequate hardware (e.g., insufficient CPU cores or suboptimal system settings) can lead to high CPU usage.
- System Tuning: Power plans, BIOS settings, or operating system configurations that are not optimized for performance can also contribute to high CPU load.
Troubleshooting Steps
- Review System Requirements
Before proceeding, ensure that your server meets the recommended system configuration for MetaDefender Core. Inadequate hardware specifications can lead to high CPU usage and degraded performance.
Monitor System Resources
- Use system monitoring tools to assess CPU, memory, and disk I/O usage.
- Identify if CPU usage spikes coincide with specific scanning activities.
Review MetaDefender Core Configuration
- Verify that the engine parallel count and maximum queue size settings match your workload. Adjust these settings if necessary.
- Check for any misconfigurations in the MetaDefender Core settings that might be triggering unnecessary load.
Update Scanning Engines
- Ensure that all scanning engines, especially the FileType engine, are updated to the latest versions to mitigate known issues that may cause high CPU usage.
System and Hardware Optimization
- Confirm that your server hardware meets the recommended specifications. For instance, using a high-performance power plan and ensuring BIOS settings are optimized (e.g., enabling Turbo Boost on CPUs).
- Consider increasing CPU cores if the current hardware is consistently overburdened.
Review Logs and System Health
- Examine MetaDefender Core logs to detect any error messages or alerts related to CPU load.
- Use the built-in health check features to determine if the high CPU load is affecting other system components.
Restart the MetaDefender Core Service
- After applying configuration changes, restart the service to ensure the changes take effect.
Recommendations
- Adjust Configuration Settings: Tweak engine parallel counts and queue sizes based on your typical workload to avoid overloading the CPU.
- Regular Updates: Maintain the latest version of all scanning engines and MetaDefender Core software to benefit from performance improvements and bug fixes.
- Optimize Hardware: If performance issues persist, evaluate whether a hardware upgrade (such as adding more CPU cores or faster memory) is required.
- Follow Best Practices: Refer to the Performance Optimization and Fine-Tuning Guide for in-depth recommendations on system tuning and optimal configurations.
Additional Resources
- Performance Optimization and Fine-Tuning Guide: Learn how to maximize overall performance through system and application tuning. Read more
- How to Increase Parallel Count and Max Queue Size: Detailed steps for adjusting these settings in your MetaDefender Core configuration. Read more
- Troubleshooting MetaDefender Core: A comprehensive guide to diagnosing and resolving common issues. Read more
By following these guidelines and recommendations, you can effectively manage high CPU loads on your OPSWAT MetaDefender Core server and ensure smooth, efficient operation. If issues persist, consider reaching out to OPSWAT Support for further assistance.
If Further Assistance is required, please proceed to log a support case or chatting with our support engineer.