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