Arbortext Publishing Engine Programmer's Guide (Guide de programmeur d'Arbortext Publishing Engine) > The Arbortext Publishing Engine Request Manager > Understanding the Internal Structure of Arbortext PE Request Manager > Sous-processus Arbortext PE Pool Management > Sous-processus Arbortext PE Pool Work Thread > Terminating Expired Sous-processus Arbortext PE
  
Terminating Expired Sous-processus Arbortext PE
Each time the work thread runs, it examines idle Sous-processus Arbortext PE in its pool. If any idle Sous-processus Arbortext PE is older than the configured maxLifetime period (explained in The maxLifetime Attribute), the work thread terminates the Sous-processus Arbortext PE.
In addition, if the longest idle Sous-processus Arbortext PE 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 Sous-processus Arbortext PE running.
In either case, if the number of activated Sous-processus Arbortext PE drops below the minimum configured number of Sous-processus Arbortext PE (explained in The minSubprocesses and maxSubprocesses Attributes), the work thread starts a new Sous-processus Arbortext PE.