ich habe in letzter Zeit bemerkt, da? fcgi (original unter dem entsprechendem Froxlor Handbuch eingebunden) einfach langamser wird und gelegentlich sogar abbricht. Unter der aktuellen Version habe ich allerdings stabile Ergebnisse.
Ich bin nun verschiedene FCGI mod Einstellungen unter Apache noch am testen.
################################################################################
##
## Sample config for apache2_mod-fcgid
##
## All lines, that are commented out, reflect the default values.
##
<IfModule fcgid_module>
##
## An idle fastcgi application will be terminated after IdleTimeout seconds.
##
#IdleTimeout 300
IdleTimeout 600
MaxRequestsPerProcess 500
##
## The scan interval for idle fastcgi applications in seconds.
##
#IdleScanInterval 120
IdleScanInterval 240
##
## a fastcgi application will be terminated if handing a single request longer
## than busy timeout. Value in seconds.
##
BusyTimeout 300
##
## The scan interval for busy timeout fastcgi applications. Value in seconds.
##
BusyScanInterval 120
##
## The scan interval for exit pending fastcgi applications. fastcgi applications
## will be terminated within this scanning. Value in seconds.
##
ErrorScanInterval 6
##
## The scan interval for zombie process. Value in seconds.
##
ZombieScanInterval 6
##
##
## A fastcgi application will be terminated if lifetime expired, even no error
## is detected. Value in seconds.
##
ProcessLifeTime 3600
##
## The directory to put the UNIX domain socket. (UNIX only)
##
SocketPath /var/lib/apache2/fcgid/
##
## The share memory file path.
##
SharememPath /var/lib/apache2/fcgid/shm
##
## The spawn-speed control score up water limit. Score increases while a process
## is spawned or terminated, and decreases as time progresses; while the score is
## higher than SpawnScoreUpLimit, the spawning will be held for a while. The
## higher this number is, the higher speed of the spawning can be.
##
#SpawnScoreUpLimit n (10)
SpawnScoreUpLimit 10
##
## The weight of spawning. This weight will be plused to the spawn-control
## score on every spawn. The higher this number is, the lower speed of spawning
## can be.
##
#SpawnScore n (1)
SpawnScore 1
##
## The weight of termination. This weight will be plused to the score while
## fastcgi process terminates. The higher this number is, the lower speed of
## spawning can be.
##
#TerminationScore n (2)
TerminationScore 2
##
## The max count of total fastcgi process count.
##
#MaxProcessCount n (1000)
MaxProcessCount 300
##
## The maximum number of fastcgi application instances allowed to run for any
## one fastcgi application.
##
#
DefaultMaxClassProcessCount 10
##
## The default environment variables before a fastcgi application is spawned.
## You can set this configuration more than once.
##
#DefaultInitEnv env_name env_value
DefaultInitEnv PHPRC "/etc/php5/fastcgi"
##
## The connect timeout to a fastcgi application. Value in seconds.
##
## Default value: 2
##
IPCConnectTimeout 60
##
## The communication timeout to a fastcgi application. Please increase this
## value if your CGI have a slow initialization or slow respond. Value in
## seconds.
##
## Default value: 5
##
#IPCCommTimeout 40
IPCCommTimeout 120
##
## CGI output cache buffer size. Value in kilobytes.
##
#OutputBufferSize 64
##
## Associate .fcgi files with mod_fcgid
##
#AddHandler fcgid-script .fcgi
##
## PHP via FastCGI
##
## uncomment the following line if you want to handle php via mod_fcgid
##
#<FilesMatch "\.php$">
# AddHandler fcgid-script .php
# FCGIWrapper /srv/www/cgi-bin/php5 .php
# Options +ExecCGI
#</FilesMatch>
##
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
ServerLimit 500
StartServers 3
#MinSpareThreads 3
#MaxSpareThreads 10
#ThreadsPerChild 10
MaxClients 300
MaxRequestsPerChild 1000
# End of <IfModule fcgid_module>
##
################################################################################
Hat jemand andere am laufen oder bessere Ideen. Di Diskussion ist er?ffnet.
Question
Linux-Admin
Hallo an alle FCGI Benutzer,
ich habe in letzter Zeit bemerkt, da? fcgi (original unter dem entsprechendem Froxlor Handbuch eingebunden) einfach langamser wird und gelegentlich sogar abbricht. Unter der aktuellen Version habe ich allerdings stabile Ergebnisse.
Ich bin nun verschiedene FCGI mod Einstellungen unter Apache noch am testen.
Hat jemand andere am laufen oder bessere Ideen. Di Diskussion ist er?ffnet.
Viele Gr??e
Linux-Admin
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.