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:
# cat /usr/local/etc/apache22/Includes/fcgid.conf
LoadModule fcgid_module libexec/apache22/mod_fcgid.so
AddHandler fcgid-script .fcgi
However, after idle time the process still exists and is not killed.
Can someone help?