|
153 | 153 |
|
154 | 154 | # SocketPath /tmp/fcgid_sock/ |
155 | 155 |
|
156 | | - # IdleTimeout n (3600 seconds) |
| 156 | + # IdleTimeout n (300 seconds) |
157 | 157 | # An idle fastcgi application will be terminated after IdleTimeout seconds. |
158 | | - IdleTimeout 3600 |
| 158 | + FcgidIdleTimeout 300 |
159 | 159 |
|
160 | | - # ProcessLifeTime n (7200 seconds) |
| 160 | + # ProcessLifeTime n (3600 seconds) |
161 | 161 | # A fastcgi application will be terminated if lifetime expired, even no error is detected. |
162 | | - ProcessLifeTime 7200 |
| 162 | + FcgidProcessLifeTime 3600 |
163 | 163 |
|
164 | 164 | # MaxProcessCount n (1000) |
165 | 165 | # The max count of total fastcgi process count. |
166 | | - # MaxProcessCount 1000 |
| 166 | + # FcgidMaxProcesses 1000 |
167 | 167 |
|
168 | 168 | # DefaultMinClassProcessCount n (3) |
169 | 169 | # The minimum number of fastcgi application instances for any one fastcgi application. |
170 | 170 | # Idle fastcgi will not be killed if their count is less than n |
171 | 171 | # Set this to 0, and tweak IdleTimeout |
172 | | - DefaultMinClassProcessCount 0 |
| 172 | + FcgidMinProcessesPerClass 0 |
173 | 173 |
|
174 | 174 | # DefaultMaxClassProcessCount n (100) |
175 | 175 | # The maximum number of fastcgi application instances allowed to run for |
176 | 176 | # particular one fastcgi application. |
177 | | - DefaultMaxClassProcessCount 100 |
| 177 | + FcgidMaxProcessesPerClass 100 |
178 | 178 |
|
179 | 179 | # IPCConnectTimeout n (3 seconds) |
180 | 180 | # The connect timeout to a fastcgi application. |
181 | | - IPCConnectTimeout 8 |
| 181 | + FcgidConnectTimeout 3 |
182 | 182 |
|
183 | 183 | # IPCCommTimeout n (20 seconds) |
184 | 184 | # The communication timeout to a fastcgi application. Please increase this |
185 | 185 | # value if your CGI have a slow initialization or slow respond. |
186 | | - IPCCommTimeout 360 |
| 186 | + FcgidIOTimeout 360 |
187 | 187 |
|
188 | 188 | # BusyTimeout n (300 seconds) |
189 | 189 | # A fastcgi application will be terminated if handing a single request |
190 | 190 | # longer than busy timeout. |
191 | | - BusyTimeout 300 |
| 191 | + FcgidBusyTimeout 300 |
192 | 192 |
|
193 | 193 | </IfModule> |
194 | 194 | <Directory {tmpl_var name='web_document_root_www'}> |
|
378 | 378 | <tmpl_if name='php' op='==' value='fast-cgi'> |
379 | 379 | # php as fast-cgi enabled |
380 | 380 | <IfModule mod_fcgid.c> |
381 | | - # SocketPath /tmp/fcgid_sock/ |
382 | | - # IdleTimeout n (3600 seconds) |
| 381 | + # IdleTimeout n (300 seconds) |
383 | 382 | # An idle fastcgi application will be terminated after IdleTimeout seconds. |
384 | | - IdleTimeout 3600 |
| 383 | + FcgidIdleTimeout 300 |
385 | 384 |
|
386 | | - # ProcessLifeTime n (7200 seconds) |
| 385 | + # ProcessLifeTime n (3600 seconds) |
387 | 386 | # A fastcgi application will be terminated if lifetime expired, even no error is detected. |
388 | | - ProcessLifeTime 7200 |
| 387 | + FcgidProcessLifeTime 3600 |
389 | 388 |
|
390 | 389 | # MaxProcessCount n (1000) |
391 | 390 | # The max count of total fastcgi process count. |
392 | | - # MaxProcessCount 1000 |
| 391 | + # FcgidMaxProcesses 1000 |
393 | 392 |
|
394 | 393 | # DefaultMinClassProcessCount n (3) |
395 | 394 | # The minimum number of fastcgi application instances for any one fastcgi application. |
396 | 395 | # Idle fastcgi will not be killed if their count is less than n |
397 | 396 | # Set this to 0, and tweak IdleTimeout |
398 | | - DefaultMinClassProcessCount 0 |
| 397 | + FcgidMinProcessesPerClass 0 |
399 | 398 |
|
400 | 399 | # DefaultMaxClassProcessCount n (100) |
401 | 400 | # The maximum number of fastcgi application instances allowed to run for |
402 | 401 | # particular one fastcgi application. |
403 | | - DefaultMaxClassProcessCount 100 |
| 402 | + FcgidMaxProcessesPerClass 100 |
404 | 403 |
|
405 | 404 | # IPCConnectTimeout n (3 seconds) |
406 | 405 | # The connect timeout to a fastcgi application. |
407 | | - IPCConnectTimeout 8 |
| 406 | + FcgidConnectTimeout 3 |
408 | 407 |
|
409 | 408 | # IPCCommTimeout n (20 seconds) |
410 | 409 | # The communication timeout to a fastcgi application. Please increase this |
411 | 410 | # value if your CGI have a slow initialization or slow respond. |
412 | | - IPCCommTimeout 360 |
| 411 | + FcgidIOTimeout 360 |
413 | 412 |
|
414 | 413 | # BusyTimeout n (300 seconds) |
415 | 414 | # A fastcgi application will be terminated if handing a single request |
416 | 415 | # longer than busy timeout. |
417 | | - BusyTimeout 300 |
| 416 | + FcgidBusyTimeout 300 |
418 | 417 |
|
419 | 418 | </IfModule> |
420 | 419 | <Directory {tmpl_var name='web_document_root_www'}> |
|
0 commit comments