Skip to content

Commit 82a72d9

Browse files
committed
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
1 parent ae8bfe0 commit 82a72d9

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

server/conf/vhost.conf.master

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -153,42 +153,42 @@
153153

154154
# SocketPath /tmp/fcgid_sock/
155155

156-
# IdleTimeout n (3600 seconds)
156+
# IdleTimeout n (300 seconds)
157157
# An idle fastcgi application will be terminated after IdleTimeout seconds.
158-
IdleTimeout 3600
158+
FcgidIdleTimeout 300
159159

160-
# ProcessLifeTime n (7200 seconds)
160+
# ProcessLifeTime n (3600 seconds)
161161
# A fastcgi application will be terminated if lifetime expired, even no error is detected.
162-
ProcessLifeTime 7200
162+
FcgidProcessLifeTime 3600
163163

164164
# MaxProcessCount n (1000)
165165
# The max count of total fastcgi process count.
166-
# MaxProcessCount 1000
166+
# FcgidMaxProcesses 1000
167167

168168
# DefaultMinClassProcessCount n (3)
169169
# The minimum number of fastcgi application instances for any one fastcgi application.
170170
# Idle fastcgi will not be killed if their count is less than n
171171
# Set this to 0, and tweak IdleTimeout
172-
DefaultMinClassProcessCount 0
172+
FcgidMinProcessesPerClass 0
173173

174174
# DefaultMaxClassProcessCount n (100)
175175
# The maximum number of fastcgi application instances allowed to run for
176176
# particular one fastcgi application.
177-
DefaultMaxClassProcessCount 100
177+
FcgidMaxProcessesPerClass 100
178178

179179
# IPCConnectTimeout n (3 seconds)
180180
# The connect timeout to a fastcgi application.
181-
IPCConnectTimeout 8
181+
FcgidConnectTimeout 3
182182

183183
# IPCCommTimeout n (20 seconds)
184184
# The communication timeout to a fastcgi application. Please increase this
185185
# value if your CGI have a slow initialization or slow respond.
186-
IPCCommTimeout 360
186+
FcgidIOTimeout 360
187187

188188
# BusyTimeout n (300 seconds)
189189
# A fastcgi application will be terminated if handing a single request
190190
# longer than busy timeout.
191-
BusyTimeout 300
191+
FcgidBusyTimeout 300
192192

193193
</IfModule>
194194
<Directory {tmpl_var name='web_document_root_www'}>
@@ -378,43 +378,42 @@
378378
<tmpl_if name='php' op='==' value='fast-cgi'>
379379
# php as fast-cgi enabled
380380
<IfModule mod_fcgid.c>
381-
# SocketPath /tmp/fcgid_sock/
382-
# IdleTimeout n (3600 seconds)
381+
# IdleTimeout n (300 seconds)
383382
# An idle fastcgi application will be terminated after IdleTimeout seconds.
384-
IdleTimeout 3600
383+
FcgidIdleTimeout 300
385384

386-
# ProcessLifeTime n (7200 seconds)
385+
# ProcessLifeTime n (3600 seconds)
387386
# A fastcgi application will be terminated if lifetime expired, even no error is detected.
388-
ProcessLifeTime 7200
387+
FcgidProcessLifeTime 3600
389388

390389
# MaxProcessCount n (1000)
391390
# The max count of total fastcgi process count.
392-
# MaxProcessCount 1000
391+
# FcgidMaxProcesses 1000
393392

394393
# DefaultMinClassProcessCount n (3)
395394
# The minimum number of fastcgi application instances for any one fastcgi application.
396395
# Idle fastcgi will not be killed if their count is less than n
397396
# Set this to 0, and tweak IdleTimeout
398-
DefaultMinClassProcessCount 0
397+
FcgidMinProcessesPerClass 0
399398

400399
# DefaultMaxClassProcessCount n (100)
401400
# The maximum number of fastcgi application instances allowed to run for
402401
# particular one fastcgi application.
403-
DefaultMaxClassProcessCount 100
402+
FcgidMaxProcessesPerClass 100
404403

405404
# IPCConnectTimeout n (3 seconds)
406405
# The connect timeout to a fastcgi application.
407-
IPCConnectTimeout 8
406+
FcgidConnectTimeout 3
408407

409408
# IPCCommTimeout n (20 seconds)
410409
# The communication timeout to a fastcgi application. Please increase this
411410
# value if your CGI have a slow initialization or slow respond.
412-
IPCCommTimeout 360
411+
FcgidIOTimeout 360
413412

414413
# BusyTimeout n (300 seconds)
415414
# A fastcgi application will be terminated if handing a single request
416415
# longer than busy timeout.
417-
BusyTimeout 300
416+
FcgidBusyTimeout 300
418417

419418
</IfModule>
420419
<Directory {tmpl_var name='web_document_root_www'}>

0 commit comments

Comments
 (0)