Skip to main content

Network Discovery | Troubleshooting High CPU Usage During Network Discovery Inspections

Overview ✨

When Network Discovery Inspectors are configured to scan large IP address ranges, particularly those containing a significant number of unused or unresponsive IP addresses, inspections may take considerably longer to complete.

Applies to: Network Discovery Inspectors running on Self-Managed Agents.

The sustained volume of network discovery activity may increase the monitoring and processing workload of endpoint security solutions, such as:

  • Microsoft Defender Antivirus

  • Microsoft Defender for Endpoint (formerly Microsoft Defender ATP)

  • Elastic Defend

  • Other Antivirus (AV) and Endpoint Detection and Response (EDR) solutions

Depending on the security software and its configuration, this additional workload may result in high CPU utilization on the machine hosting the Liongard Agent, even when the Agent itself is not the primary CPU-consuming process.

⚠️ Key Consideration: High CPU utilization during a Network Discovery inspection does not necessarily indicate a performance issue with the Liongard Agent. Optimizing the Network Discovery configuration and reducing unnecessary scanning activity may help resolve the issue without migrating the Agent to different hardware.

ℹ️ This article explains how to identify the source of increased CPU utilization, understand the impact of large network scan ranges, and optimize Network Discovery configurations to reduce unnecessary resource consumption.


Common Symptoms

During Network Discovery inspections, you may observe one or more of the following symptoms:

  • High CPU utilization on the machine hosting the Liongard Agent.

  • Reduced server responsiveness or overall system performance during inspections.

  • Increased CPU or memory utilization by Antivirus (AV), Endpoint Detection and Response (EDR), or other security-related processes.

  • Improved server performance when Network Discovery inspections are paused.

  • Recurring CPU spikes whenever Network Discovery inspections run, even after increasing the interval between scheduled inspections.

  • Extended inspection durations when large IP address ranges are configured.

Observed Behavior

In an investigated scenario, significant resource utilization was observed in endpoint security processes during Network Discovery inspections.

Component

Observed Behavior

Liongard Agent

Not identified as the primary CPU-consuming process.

Microsoft Defender Antivirus (Antimalware Service Executable)

Increased resource utilization during inspections.

Microsoft Defender for Endpoint

Increased resource utilization during inspections.

Elastic Defend

Increased resource utilization during inspections.

Network Discovery Inspector

CPU spikes stopped when the Inspector was disabled.

Inspection Scheduling

Increasing the interval between inspections did not eliminate the CPU spikes during individual runs.

📌 Important: A CPU spike that coincides with a Network Discovery inspection does not necessarily indicate that the Liongard Agent is directly responsible for the increased CPU utilization.

Review process-level resource utilization to identify which application or service is consuming CPU resources before making changes to the Agent, server hardware, or endpoint security configuration.


Why Does This Happen?

Network Discovery Inspections perform multiple discovery operations, including ICMP ping sweeps, TCP port scanning, and SNMP information collection, where applicable, to identify devices and gather information across configured IP address ranges.

Several factors can contribute to increased CPU utilization during these inspections.

1. Large IP Address Ranges

Configuring unnecessarily large IP address ranges increases the number of addresses that Network Discovery must evaluate.

When these ranges contain a significant number of unused or unresponsive IP addresses, the Inspector may spend additional time waiting for probe responses or timeouts, potentially extending the overall inspection duration.

The larger the configured scan range, the greater the potential discovery workload.

2. Endpoint Security Monitoring

Network Discovery generates network and process activity that may be monitored by endpoint security solutions, including:

  • Antivirus (AV) software.

  • Endpoint Detection and Response (EDR) solutions.

  • Network traffic and behavioral monitoring tools.

Depending on the security product and its configuration, processing this activity may increase CPU and memory utilization on the machine hosting the Liongard Agent.

In some cases, endpoint security processes may consume more CPU resources than the Liongard Agent itself.

3. Extended Inspection Duration and Scheduling

Large scan ranges, unresponsive devices, and network timeouts may cause inspections to run for extended periods.

When inspection duration is significant relative to the configured inspection interval, the host may experience prolonged or recurring periods of increased resource utilization.

Increasing the interval between inspections may reduce how frequently this occurs, but it does not necessarily reduce the workload generated by an individual inspection.

4. Multiple Endpoint Security Solutions

When multiple endpoint security products operate on the same machine, their combined monitoring and processing activities may contribute to additional resource consumption.

In some circumstances, security products may also monitor activity generated by one another, further increasing CPU utilization.

⚠️ Important: The Liongard Agent may initiate the network discovery activity without being the primary CPU-consuming process. Identifying which processes are consuming system resources is essential before determining the root cause or making changes to the Agent, security software, or server hardware.


Steps to Resolve & Performance Recommendations

The following recommendations can help reduce Network Discovery inspection duration, minimize unnecessary network activity, and improve resource utilization on the machine hosting the Liongard Agent.

Step 1: Optimize the Target IP Address Ranges

Review the Targets configured in the Network Discovery Inspector.

  • Replace unnecessarily large IP address ranges with specific subnets that contain devices relevant to your monitoring requirements.

  • Avoid scanning large, unused portions of your network.

  • Where appropriate, use smaller, targeted subnets instead of broad IP address ranges.

  • Ensure that all networks required for device discovery and monitoring remain within the configured scan scope.

For example:

Subnet

Total IPv4 Addresses

/17

32,768

/18

16,384

/20

4,096

/22

1,024

/24

256

A single /17 subnet contains 128 times as many IP addresses as a /24 subnet.

Reducing unnecessary scan targets can decrease the discovery workload, shorten inspection duration, and reduce the volume of activity processed by endpoint security solutions.

Step 2: Optimize the Port List

Review the Ports configured in the Network Discovery Inspector.

  • Retain only the ports required for your device discovery and monitoring requirements.

  • Remove unnecessary ports or excessively broad port ranges.

  • Ensure that ports required for device identification and SNMP data collection remain configured, where applicable.

Reducing the number of configured ports can improve inspection performance by limiting TCP scanning activity.

‼️ Note: Removing ports may affect the information collected by the Inspector and its ability to discover certain devices. Review your monitoring requirements before making changes.

Step 4: Review Inspection Scheduling

Review the frequency and duration of your Network Discovery inspections.

  • Schedule resource-intensive inspections outside peak business hours, where appropriate.

  • Avoid scheduling multiple resource-intensive inspections on the same Agent at the same time.

  • Configure inspection intervals that are appropriate for the size of the network and your monitoring requirements.

Increasing the interval between inspections may reduce the frequency of CPU spikes, but it does not necessarily reduce the resource consumption of an individual inspection.

For this reason, optimizing the scan configuration should remain the primary focus.

Step 5: Validate Performance After Configuration Changes

After updating the Network Discovery configuration, manually run another inspection and compare the results against the previous inspection.

Review the following:

Performance Indicator

Expected Improvement

Inspection Duration

Reduced overall inspection runtime

Host CPU Utilization

Reduced peak or sustained CPU utilization

Security Process Utilization

Reduced resource consumption, if security monitoring was a contributing factor

Server Responsiveness

Improved system responsiveness during inspections

Inspection Results

Successful collection of required network discovery data

Where possible, apply and evaluate configuration changes individually to determine which adjustment provides the greatest improvement.

Step 6: Evaluate Agent Hosting Resources (If Necessary)

Migrating the Liongard Agent from a virtual machine to physical hardware or allocating additional CPU and memory resources should not be the initial troubleshooting step.

If the underlying issue is caused by unnecessarily large scan ranges or endpoint security monitoring overhead, changing the hosting hardware alone may not resolve the issue.

If performance issues persist after optimizing the Network Discovery configuration and reviewing endpoint security behavior, evaluate the available system resources and Agent hosting requirements.

✅ Expected Results

Optimizing Network Discovery scan targets, port configurations, and inspection schedules may help achieve:

  • Shorter inspection durations.

  • Reduced unnecessary network probe activity.

  • Reduced endpoint security monitoring overhead.

  • Lower peak or sustained CPU utilization.

  • Improved server responsiveness.

  • Continued visibility into the devices and networks required for monitoring.

⚠️ Actual performance improvements will vary depending on network size, device availability, configured ports, network response times, endpoint security policies, and available system resources.


Additional Troubleshooting Checks

If high CPU utilization persists during Network Discovery inspections, review the following areas to identify potential contributing factors.

Network Discovery Configuration

Configuration

What to Check

Target IP Address Ranges

Calculate the total number of IP addresses included in the configured CIDR ranges.

Subnet Utilization

Determine whether the configured ranges contain active devices or large portions of unused IP address space.

Port Configuration

Review the number of configured ports and confirm that each is required for the intended monitoring outcome.

Inspection Frequency

Review how frequently Network Discovery inspections are scheduled.

Inspection Duration

Compare recent inspection runtimes against the configured inspection interval.

Concurrent Inspections

Determine whether other resource-intensive inspections are running on the same Agent during the affected period.

Agent Host and Resource Utilization

Component

What to Check

CPU Utilization

Use Windows Task Manager or Resource Monitor to identify the processes consuming the most CPU during an inspection.

Memory Utilization

Review memory consumption by Liongard Agent and endpoint security processes.

Endpoint Security Software

Check for increased activity from Microsoft Defender Antivirus, Microsoft Defender for Endpoint, Elastic Defend, or other AV/EDR solutions.

Performance Baseline

Compare CPU and memory utilization before, during, and after a Network Discovery inspection.

Log Growth

Review Agent and security application log sizes to determine whether extended or frequent inspections are contributing to increased logging or disk utilization.

Available System Resources

Verify that the host meets Liongard's Agent system requirements and has sufficient resources available.

Isolate the Performance Issue

If operational requirements permit:

  1. Temporarily pause the affected Network Discovery Inspector.

  2. Allow any active inspection to finish.

  3. Record the host's CPU and memory utilization when Network Discovery is not running.

  4. Re-enable the Inspector and manually trigger an inspection.

  5. Monitor resource utilization throughout the inspection.

  6. Compare the results to identify which processes experience increased resource consumption.

📌 Important: An improvement in server performance after pausing Network Discovery establishes a correlation with inspection activity but does not independently confirm that the Liongard Agent is the primary CPU-consuming process.

Always review process-level resource utilization before determining the root cause.

📘 Key Takeaway

Large CIDR ranges can represent tens of thousands of IP addresses, even when only a small portion of the network contains active devices.

Scanning unnecessarily broad ranges can increase inspection duration and generate sustained network activity. Even when the Liongard Agent is operating as designed, this activity may create a significant processing workload for endpoint security software.

Optimizing the scan scope and identifying the actual CPU-consuming processes should be prioritized before considering hardware upgrades or changes to endpoint security policies.


When to Contact Support 🦁

If high CPU utilization persists after optimizing the Network Discovery configuration and reviewing endpoint security activity, contact Liongard Support for further assistance.

To help our Support team investigate the issue, please provide the following information.

Screenshots from the Agent Host

  • Task Manager – Processes: Screenshot showing processes sorted by CPU utilization while a Network Discovery inspection is running.

  • Task Manager – Details: Screenshot showing the individual executable names and their CPU and memory utilization.

  • Task Manager – Performance: Screenshots showing overall CPU and memory utilization before, during, and after an inspection.

  • Resource Monitor: Screenshots showing CPU, memory, and network activity associated with the affected processes, if available.

  • Endpoint Security Configuration: Screenshots showing relevant Antivirus (AV) or Endpoint Detection and Response (EDR) policies, including any existing Liongard-related exclusions or trusted application configurations.

  • Endpoint Security Logs: Screenshots of relevant alerts, events, or monitoring activity during the affected inspection window.

Additional Information and Logs

Information

Details Required

Liongard Instance

Instance URL

Affected Inspectors

Inspector names or URLs

Agent Version

Currently installed Agent version

Operating System

OS version, edition, and build

Host Type

Virtual machine or physical machine

System Resources

CPU specifications, allocated CPU cores or vCPUs, and RAM

Security Software

Product names, versions, and active protection modes

Scan Configuration

Configured CIDR ranges, ports, and inspection frequency

Inspection Duration

Typical runtime before and after configuration changes

CPU Utilization

Baseline, peak, and sustained CPU utilization

Affected Processes

Names of processes consuming significant resources

Issue Timeline

Date, time, and time zone of the observed CPU spikes

Please also provide:

  • Microsoft Defender Antivirus Performance Analyzer results, if applicable.

  • Relevant Elastic Defend or other endpoint security diagnostic logs, if available.

  • Results of performance comparisons with Network Discovery inspections paused and running.

  • A summary of the configuration changes and troubleshooting steps already performed.

Helpful Tip 🕵️: Capture screenshots and logs during the same inspection window wherever possible. Matching timestamps allows Support to correlate Network Discovery activity with resource utilization and endpoint security behavior.

Our Support team is happy to help! 😇

💬 Start a chat with Leo (Our AI Assistant) or connect with a live Support Engineer.


References 📚

Liongard Documentation

Related Knowledge Base Articles

Microsoft Documentation

🚨 Note : We may occasionally provide links to third-party tools or resources for additional reference. These resources are offered for convenience only, and Liongard does not control, maintain, or guarantee their functionality, accuracy, or availability. Please review and use any third-party resources at your own discretion.

Did this answer your question?