summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-09 02:45:20 +0200
committermh <mh@immerda.ch>2011-10-09 02:45:20 +0200
commitb2898d6ece7ae4fa1d26baa4234597ec5a05d985 (patch)
treef136c3a3985c9844f0108db067393d52fb8133f3 /templates
parent811928eed982bd18776e6abfe0b5e1b9864d7c55 (diff)
set max requests on the same as the php requests, as per https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/default.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/vhosts/default.erb b/templates/vhosts/default.erb
index 3073499..fdc9aee 100644
--- a/templates/vhosts/default.erb
+++ b/templates/vhosts/default.erb
@@ -22,6 +22,7 @@ vhost_parts.each do |vhost_part|
<% elsif run_mode.to_s == 'fcgid' -%>
<IfModule mod_fcgid.c>
SuexecUserGroup <%= run_uid+" "+run_gid %>
+ FcgidMaxRequestsPerProcess 5000
FCGIWrapper /var/www/mod_fcgid-starters/<%= name %>/<%= name %>-starter .<%= passing_extension %>
AddHandler fcgid-script .<%= passing_extension %>
</IfModule>