See THIS post for solution
-----
Hello,
I installed ispCP Panel and most functions works fine but I have problem with conifguration & optimization fcgi. I have ~200 members online and a lot of them complain, because they're receiving 500 errors.
Could you give me solutions please how to config server with that load for the best performance without tons of errors?
apache2.conf:
Quote:ExtendedStatus On
Timeout 30
KeepAlive Off
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 50
</IfModule>
<IfModule mpm_worker_module>
StartServers 5
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 50
</IfModule>
HostnameLookups Off
ServerTokens Prod
ServerSignature Off
fastcgi_ispcp.conf
Quote: FastCgiConfig -minProcesses 5 \
-maxProcesses 400 \
-maxClassProcesses 100 \
-multiThreshold 80 \
-killInterval 60 \
-startDelay 5 \
-idle-timeout 30
# -singleThreshold 100 \
# -autoUpdate \
# -pass-header HTTP_AUTHORIZATION
php5-fcgi-starter for site where there are 200 members online
Quote:export PHPRC
PHP_FCGI_CHILDREN=10
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_MAX_REQUESTS
php.ini for this site:
Quote:output_buffering = Off
zlib.output_compression = On
safe_mode = Off
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink, popen, proc_open
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
display_errors = Off
log_errors = On
Software versions:
Apache 2.2.3
PHP 5.2.0-8+etch13
Thank you very much for any help...