From: Grant Slater Date: Tue, 13 Aug 2019 23:00:38 +0000 (+0100) Subject: osqa: set safe WSGIDaemonProcess restart intervals X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/ea7cec92bc26d3a920da06070036ea62953ff03c?hp=41e5680bfdf077965790f3fcd9b3fa9bd30e126b osqa: set safe WSGIDaemonProcess restart intervals --- diff --git a/cookbooks/osqa/templates/default/apache.erb b/cookbooks/osqa/templates/default/apache.erb index 2d6e77139..562f687e3 100644 --- a/cookbooks/osqa/templates/default/apache.erb +++ b/cookbooks/osqa/templates/default/apache.erb @@ -1,6 +1,6 @@ # 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 %> ServerName <%= @name %>