The maxLifetime Attribute
This attribute specifies the duration in seconds that an Arbortext PE Unterprozess can run in its lifetime. After an Arbortext PE Unterprozess finishes servicing a request, the Arbortext PE Unterprozess pool checks the time elapsed since the Arbortext PE Unterprozess was started. After the configured time period has elapsed, an Arbortext PE Unterprozess will be terminated because it has exceeded this limit. If termination leaves fewer than the configured minimum number of Arbortext PE Unterprozesse 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 Arbortext PE Unterprozess elapsed time only happens between requests. The purpose of having a lifetime limit is to release memory or other resources, especially if an Arbortext PE Unterprozess encounters a problem. Because resource usage can creep over time, setting maxLifetime recycles the resources and avoids having an Arbortext PE Unterprozess that has grown too large to function properly or efficiently.
The pool work thread checks for
Arbortext PE Unterprozesse at regular intervals; refer to
Arbortext PE Unterprozess Pool Work Thread for more information. You can disable checking the duration of
Arbortext PE Unterprozesse by specifying
0.
Parent topic