Hy thanks Bene ,
My server loaded forward ( 20 < 150 ) and user totaly memory and swap.
Since used fastcgi-2.4.7 , my server don't load tremendously is used 50% of memory and no swap.
My config :
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>
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
This server not used mysql-server , I dedicated server for mysql.
Pierrick