FastCGI application with Webagent / Apache goes in to the zombie/defunct state on exit.

Document ID : KB000007091
Last Modified Date : 14/02/2018
Show Technical Document Details

FastCGI applications are designed to run persistently, some FastCGI applications exit intentionally after a certain amount of time has passed or after they have served a certain number of requests to minimize the impact of any memory leaks. When FastCGI applications exit (or crash) the FastCGI process manager will detect this (by receiving a CHLD signal), perform some housekeeping and launch a new process.

When an Apache web server is configured to use the v12.51.1.972 webagent it appears to be setting the signal mask of the main Apache process, and hence, the child FastCGI process manager process so that the process blocks CHLD signals.

Webagent 12.51CR01 on apache

Issue fix with 12.51CR04 Webagent.

From release 12.51CR04 note :

55892, 79811    If the Web Agent is configured, the Apache's FastCGI modules goes in to the zombie/defunct state.