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 Unusable Sous-processus Arbortext PE
  
Terminating Unusable Sous-processus Arbortext PE
Each Sous-processus Arbortext PE has a flag which is set any time it returns a fatal error. When a work thread detects an unusable Sous-processus Arbortext PE, it sets a flag that records the state of the Sous-processus Arbortext PE. At a later time, the work thread scans all running Sous-processus Arbortext PE and requests the operating system to terminate any with the hung or fatal flag set to true.