New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Why do I encounter gaps in the graphs/data of my EXE sensors?

Votes:

0

Your Vote:

Up

Down

Why do I encounter gaps in the graphs/data of my EXE sensors? Why do I get the error Limit of 100 parallel .exe – Sensors reached?

What causes this error and what can I do about it?

error exe graphs prtg

Created on Sep 8, 2017 6:30:45 AM by  Brandy Mauff [Paessler Support]

Last change on Sep 8, 2017 6:35:18 AM by  Brandy Mauff [Paessler Support]



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 17 or later

Limit of 100 Parallel EXE Sensors Error

If you have received the following error in your probe log

Limit of 100 parallel .exe – Sensors reached for x times. DROPPING SEVERAL REQUESTS for system stability

although the CPU load has not reached a critical level, this is not an error caused by exhaustion of your hardware but rather a preventive limit to avoid unexpected termination of processes that has been set within PRTG itself.

PRTG has a limit of 100 concurrent parallel EXE sensor-based scans. This includes PowerShell, batch, and other script-based custom sensors.

Reason for the Limitation

Windows defines a limited user land memory space or desktop heap memory for each user, service, or process that practically limits the number of parallel child processes that can be running at the same time, among other things. The default values Windows defines for a process running as a local system causes the termination of random child processes when approximately 120 child processes are running. Depending on the task or function these killed processes were running at the termination time, the result could be fatal.

PRTG limits the maximum amount of concurrent parallel EXE-based scans to 100. This is because terminating processes, in particular the EXE-based sensors, can lead to corrupt systems because allocated semaphores or mutexes cannot be released, for example.

This limitation is designed to keep a smooth flow of the scans on the probe. Normally, this limitation only applies in exceptional cases, even when systems have a heavy load if, for example, the core probe is reconnected and as a result, an initial rescan is carried out in the course of the schedule sequence, or if a large number of target systems is rebooted.

Workaround

Move the EXE Sensors to multiple remote probes

Moving these sensors to remote probes can relieve the core server. The core server then only has to make the calculations and preparations, and therefore does not have to actually execute the EXE sensors. See PRTG Manual: Remote Probes and Multiple Probes for more information.

Increase the scanning interval

Increasing the scanning interval to 10 or 15 minutes, for example, can help distribute the sensors more efficiently. This is only useful when you have less than 1,000 EXE sensors deployed in your monitoring setup. See PRTG Manual: System Administration—Monitoring for more information.

Other Solutions

Note: These solutions are only a last resort if the other solutions could not solve the issue or are not applicable.

To increase the limitation count in the probe in question, please contact our support via the PRTG web interface under Setup | Contact Support.

To increase the desktop heap size in Windows, you have to modify the heap allocation sizes accordingly.

Important: We do not recommend modifying the registry because incorrect modification can cause serious issues. Please ensure that you have backed up the registry before you continue. See How to back up and restore the registry in Windows for more information.

  1. Open the registry editor.
  2. Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems
  3. Right-click the Windows entry, and click Modify.
  4. In the Value Data section of the Edit String dialog box, locate the SharedSection entry. Increase the second value and the third value for this entry.

See the Microsoft article You may receive an "Out of Memory" error message because of the desktop heap limitation for more information.

More

For more information on desktop heaps, see Desktop Heap Overview.

Created on Sep 8, 2017 7:11:26 AM by  Brandy Mauff [Paessler Support]

Last change on Sep 8, 2017 9:59:20 AM by  Gerald Schoch [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.