On Tue, Apr 20, 2010 at 1:36 AM, Weedy <weedy2...@gmail.com> wrote: > For the life of me I can't seem to find a way to make mod_fcgid wait > longer. I don't mean FcgidMaxRequestsPerProcess or > FcgidProcessLifeTime. I mean what controls the time between the signal > -2/-11/-15/whatever and the -9. > Any help would be appreciated.
During steady state: FcgidErrorScanInterval controls normal termination of idle/extra processes. The directive controls the time between scans of the error list, and during one scan it can send SIGTERM and during the next scan, if it hasn't exited yet, it can send SIGKILL. Keeping zombies cleaned up requires a small scan interval, but that can keep some scripts from having adequate time to terminate before getting KILL-ed. At shutdown: 1 second hard-coded sleep between graceful kill and SIGKILL --/-- Does this match what you are seeing?