Controlling the number of processes


The PATROL Agent allows you to limit the number of processes that are running simultaneously and the number of files that are open at the same time.

Limit the number of files opened simultaneously

The PATROL Agent enables you to limit the number of files (and thus on UNIX also the number of processes) simultaneously opened by the agent. It tracks files based on file descriptors. The maximum number of file descriptors depends on the computer resources and the behavior of process limit functions. The variable applies to both the console and agent. 

The PATROL_MAX_FILE_DESCRIPTORS environment variable specifies the maximum number of file descriptors that a system can have open at once. The maximum number of processes is determined by the platform.

Limit the number of processes run simultaneously

The /AgentSetup/maxProcessLimit configuration variable specifies the maximum number of processes that the agent can create and run simultaneously. The maximum number of processes is determined by the platform.

Limiting the number of patrolperf instances

You can use the /AgentSetup/PerfMaxRestartCount configuration variable to limit the number patrolperf instances the PATROL Agent can spawn. The default value is 25. If patrolperf does not respond to the PATROL Agent, then the agent tries to spawn patrolperf again. The agent cannot spawn more than the number of instances defined in PerfMaxRestartCount