Problem with fcgid process

Hello!

I installed mod_fcgid for Apache. PHP is compiled with support fcgid. In "Default template" I set for the newly created "virtual host" to use the PHP - Fcgid. Everything works fine, PHP is correctly interpreted, however, I have a problem with the Fcgid processes.

Well, they are running for a particular vhost (uid) but after a period of inactivity are not killed. I set the appropriate configuration directive in file:

/usr/local/etc/apache22/Includes/fcgid.conf

# cat /usr/local/etc/apache22/Includes/fcgid.conf
LoadModule fcgid_module libexec/apache22/mod_fcgid.so
<IfModule mod_fcgid.c>
  AddHandler fcgid-script .fcgi
FcgidIdleTimeout 30
FcgidProcessLifeTime 60
FcgidIdleScanInterval 15
</IfModule>

However, after idle time the process still exists and is not killed.

Can someone help?

  • System: FreeBSD 8.2 amd64
  • Apache: apache-2.2.17
  • PHP: php52-5.2.17
  • mod_fcgid: ap22-mod_fcgid-2.3.6
  • Virtualmin: 3.83 Pro
  • Webmin: 1.500
  • Status: 
    Active