The maxLifetime Attribute
This attribute specifies the duration in seconds that an Subproceso de Arbortext PE can run in its lifetime. After an Subproceso de Arbortext PE finishes servicing a request, the Subproceso de Arbortext PE pool checks the time elapsed since the Subproceso de Arbortext PE was started. After the configured time period has elapsed, an Subproceso de Arbortext PE will be terminated because it has exceeded this limit. If termination leaves fewer than the configured minimum number of Subprocesos de Arbortext PE running, a new one is started. The default value is 86400 seconds (one day).
Reaching the maximum lifetime duration won't interrupt a request being processed. Checking the Subproceso de Arbortext PE elapsed time only happens between requests. The purpose of having a lifetime limit is to release memory or other resources, especially if an Subproceso de Arbortext PE encounters a problem. Because resource usage can creep over time, setting maxLifetime recycles the resources and avoids having an Subproceso de Arbortext PE that has grown too large to function properly or efficiently.
The pool work thread checks for Subprocesos de Arbortext PE at regular intervals; refer to Subproceso de Arbortext PE Pool Work Thread for more information. You can disable checking the duration of Subprocesos de Arbortext PE by specifying 0.
¿Fue esto útil?