4.68 ZombieProcs

Use this Knowledge Script to detect the number of zombie, or defunct, processes currently left waiting to be cleaned up. If the number of zombie processes exceeds the threshold you set, AppManager raises an event. A large or increasing number of zombie processes can indicate a program you are running is launching child processes but not properly terminating either the parent or child process, or that you might need to exit a running program to eliminate the zombie processes.

4.68.1 Resource Object

CPU folder

4.68.2 Default Schedule

The default interval for this script is Every 15 minutes.

4.68.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event if over the threshold? (y/n)

Set to y to raise events. The default is y.

Collect data? (y/n)

Set to y to collect data for charts and reports. If set to y, the script returns the number of zombie processes detected for the interval. The default is n.

Maximum number of zombie processes threshold

Enter a threshold for the maximum number of zombie processes waiting in the interval. The default is 10.

Event severity level

Set the event notification level, from 1 to 40, to indicate the importance of the event. The default is 5.

Event severity for internal failure

Set the event severity level, from 1 to 40, to indicate the importance of an event in which this job experienced an internal error. The default is 5.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.