]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/osqa/templates/default/apache.erb
osqa: set safe WSGIDaemonProcess restart intervals
[chef.git] / cookbooks / osqa / templates / default / apache.erb
index 2d6e77139c442be71132eda375fc8be704c284f3..562f687e37d4046a258ca99772f5626eddae2fd2 100644 (file)
@@ -1,6 +1,6 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 # DO NOT EDIT - This file is being maintained by Chef
 
-WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=4 python-home=<%= @python_home %>
+WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=4 inactivity-timeout=600 graceful-timeout=60 maximum-requests=2000 python-home=<%= @python_home %>
 
 <VirtualHost *:80>
   ServerName <%= @name %>
 
 <VirtualHost *:80>
   ServerName <%= @name %>