Skip to content
Snippets Groups Projects
Commit 82a72d93 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1723 - fastcgi FcgidIdleTimeout

Replaced old variable names with new ones used in apache 2, see here for reference: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
parent ae8bfe0d
No related branches found
No related tags found
No related merge requests found
...@@ -153,42 +153,42 @@ ...@@ -153,42 +153,42 @@
# SocketPath /tmp/fcgid_sock/ # SocketPath /tmp/fcgid_sock/
# IdleTimeout n (3600 seconds) # IdleTimeout n (300 seconds)
# An idle fastcgi application will be terminated after IdleTimeout seconds. # An idle fastcgi application will be terminated after IdleTimeout seconds.
IdleTimeout 3600 FcgidIdleTimeout 300
# ProcessLifeTime n (7200 seconds) # ProcessLifeTime n (3600 seconds)
# A fastcgi application will be terminated if lifetime expired, even no error is detected. # A fastcgi application will be terminated if lifetime expired, even no error is detected.
ProcessLifeTime 7200 FcgidProcessLifeTime 3600
# MaxProcessCount n (1000) # MaxProcessCount n (1000)
# The max count of total fastcgi process count. # The max count of total fastcgi process count.
# MaxProcessCount 1000 # FcgidMaxProcesses 1000
# DefaultMinClassProcessCount n (3) # DefaultMinClassProcessCount n (3)
# The minimum number of fastcgi application instances for any one fastcgi application. # The minimum number of fastcgi application instances for any one fastcgi application.
# Idle fastcgi will not be killed if their count is less than n # Idle fastcgi will not be killed if their count is less than n
# Set this to 0, and tweak IdleTimeout # Set this to 0, and tweak IdleTimeout
DefaultMinClassProcessCount 0 FcgidMinProcessesPerClass 0
# DefaultMaxClassProcessCount n (100) # DefaultMaxClassProcessCount n (100)
# The maximum number of fastcgi application instances allowed to run for # The maximum number of fastcgi application instances allowed to run for
# particular one fastcgi application. # particular one fastcgi application.
DefaultMaxClassProcessCount 100 FcgidMaxProcessesPerClass 100
# IPCConnectTimeout n (3 seconds) # IPCConnectTimeout n (3 seconds)
# The connect timeout to a fastcgi application. # The connect timeout to a fastcgi application.
IPCConnectTimeout 8 FcgidConnectTimeout 3
# IPCCommTimeout n (20 seconds) # IPCCommTimeout n (20 seconds)
# The communication timeout to a fastcgi application. Please increase this # The communication timeout to a fastcgi application. Please increase this
# value if your CGI have a slow initialization or slow respond. # value if your CGI have a slow initialization or slow respond.
IPCCommTimeout 360 FcgidIOTimeout 360
# BusyTimeout n (300 seconds) # BusyTimeout n (300 seconds)
# A fastcgi application will be terminated if handing a single request # A fastcgi application will be terminated if handing a single request
# longer than busy timeout. # longer than busy timeout.
BusyTimeout 300 FcgidBusyTimeout 300
</IfModule> </IfModule>
<Directory {tmpl_var name='web_document_root_www'}> <Directory {tmpl_var name='web_document_root_www'}>
...@@ -378,43 +378,42 @@ ...@@ -378,43 +378,42 @@
<tmpl_if name='php' op='==' value='fast-cgi'> <tmpl_if name='php' op='==' value='fast-cgi'>
# php as fast-cgi enabled # php as fast-cgi enabled
<IfModule mod_fcgid.c> <IfModule mod_fcgid.c>
# SocketPath /tmp/fcgid_sock/ # IdleTimeout n (300 seconds)
# IdleTimeout n (3600 seconds)
# An idle fastcgi application will be terminated after IdleTimeout seconds. # An idle fastcgi application will be terminated after IdleTimeout seconds.
IdleTimeout 3600 FcgidIdleTimeout 300
# ProcessLifeTime n (7200 seconds) # ProcessLifeTime n (3600 seconds)
# A fastcgi application will be terminated if lifetime expired, even no error is detected. # A fastcgi application will be terminated if lifetime expired, even no error is detected.
ProcessLifeTime 7200 FcgidProcessLifeTime 3600
# MaxProcessCount n (1000) # MaxProcessCount n (1000)
# The max count of total fastcgi process count. # The max count of total fastcgi process count.
# MaxProcessCount 1000 # FcgidMaxProcesses 1000
# DefaultMinClassProcessCount n (3) # DefaultMinClassProcessCount n (3)
# The minimum number of fastcgi application instances for any one fastcgi application. # The minimum number of fastcgi application instances for any one fastcgi application.
# Idle fastcgi will not be killed if their count is less than n # Idle fastcgi will not be killed if their count is less than n
# Set this to 0, and tweak IdleTimeout # Set this to 0, and tweak IdleTimeout
DefaultMinClassProcessCount 0 FcgidMinProcessesPerClass 0
# DefaultMaxClassProcessCount n (100) # DefaultMaxClassProcessCount n (100)
# The maximum number of fastcgi application instances allowed to run for # The maximum number of fastcgi application instances allowed to run for
# particular one fastcgi application. # particular one fastcgi application.
DefaultMaxClassProcessCount 100 FcgidMaxProcessesPerClass 100
# IPCConnectTimeout n (3 seconds) # IPCConnectTimeout n (3 seconds)
# The connect timeout to a fastcgi application. # The connect timeout to a fastcgi application.
IPCConnectTimeout 8 FcgidConnectTimeout 3
# IPCCommTimeout n (20 seconds) # IPCCommTimeout n (20 seconds)
# The communication timeout to a fastcgi application. Please increase this # The communication timeout to a fastcgi application. Please increase this
# value if your CGI have a slow initialization or slow respond. # value if your CGI have a slow initialization or slow respond.
IPCCommTimeout 360 FcgidIOTimeout 360
# BusyTimeout n (300 seconds) # BusyTimeout n (300 seconds)
# A fastcgi application will be terminated if handing a single request # A fastcgi application will be terminated if handing a single request
# longer than busy timeout. # longer than busy timeout.
BusyTimeout 300 FcgidBusyTimeout 300
</IfModule> </IfModule>
<Directory {tmpl_var name='web_document_root_www'}> <Directory {tmpl_var name='web_document_root_www'}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment