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 Management > Arbortext PE sub-process Pool Work Thread > Terminating Expired Arbortext PE sub-processes
  
Terminating Expired Arbortext PE sub-processes
Each time the work thread runs, it examines idle Arbortext PE sub-processes in its pool. If any idle Arbortext PE sub-process is older than the configured maxLifetime period (explained in The maxLifetime Attribute), the work thread terminates the Arbortext PE sub-process.
In addition, if the longest idle Arbortext PE sub-process has been idle longer than the configured maxIdleInterval period, the work thread terminates that one as well, provided there are more than the minimum number of Arbortext PE sub-processes running.
In either case, if the number of activated Arbortext PE sub-processes drops below the minimum configured number of Arbortext PE sub-processes (explained in The minSubprocesses and maxSubprocesses Attributes), the work thread starts a new Arbortext PE sub-process.