The minSubprocesses and maxSubprocesses Attributes
These attributes define the number of Subprocesos de Arbortext PE running in a pool. The minSubprocesses attribute sets the minimum number of Subprocesos de Arbortext PE that will be started and continue to run. The maxSubprocesses attribute sets the maximum number of Subprocesos de Arbortext PE that can run in a pool when conditions controlled by other configuration settings are met.
When an Subproceso de Arbortext PE pool initializes, it starts Subprocesos de Arbortext PE until the minimum number have been started. If a pool terminates an Subproceso de Arbortext PE and causes the number running to drop below the minimum number configured (refer to The maxIdleInterval Attribute and The maxLifetime Attribute’ for information on configuring terminations), the pool will immediately start a new Subproceso de Arbortext PE.
The maximum number of Subprocesos de Arbortext PE must be greater than the minimum number to start additional Subprocesos de Arbortext PE if needed to satisfy requests. The pool can't exceed the maximum number of Subprocesos de Arbortext PE, which counts both allocated and idle Subprocesos de Arbortext PE in the pool.
The default value for both minSubprocesses and maxSubprocesses is 1. Specifying a value less than zero or setting maxSubprocesses less than minSubprocesses is an error.
Ordinarily, set the minimum and maximum numbers of Subprocesos de Arbortext PE to the same value to optimize performance. An extra Subproceso de Arbortext PE consumes a certain amount of memory, but even if it is seldom or never asked to service a request, it's a small penalty. If you specify starting a small number of Subprocesos de Arbortext PE and allocate more as needed, consider the overhead associated with startup and initialization that can delay fulfilling a request.
¿Fue esto útil?