hi,
The version 2.4.3 or 2.4.6 are debian lenny is not stable release, and my releases is compiled for depends debian/etch is not an official stable release.
Show my config fastcgi_ispcp.conf
Code:
<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
# FastCgiConfig -minProcesses 5 \
# -maxClassProcesses 20 \
# -multiThreshold 100 \
# -killInterval 60 \
# -startDelay 2 \
# -restart-delay 2 \
# -autoUpdate \
# -init-start-delay 1 \
# -processSlack 5 \
## -maxProcesses 400 \
# -singleThreshold 100
#-updateInterval 100
#-maxProcesses 300 \
FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300
#
# PHP5 SUPPORT
#
AddHandler php-fastcgi .php .php5 .php4 .php3
<Location /php5/php5-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action php-fastcgi /php5/php5-fcgi-starter
AddType application/x-httpd-php .php .php5 .php3 .php4
</IfModule>
and show my php5-fcgi-starter for master.
Code:
#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/master/php5/"
export PHPRC
PHP_FCGI_CHILDREN=3
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=200
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php-cgi
I reduce the number of PHP_FCGI_MAX_REQUESTS and PHP_FCGI_CHILDREN to help stabilize the load cpu.
Pierrick