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