]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/fpm.conf.erb
nominatim: enable updating of postcodes
[chef.git] / cookbooks / nominatim / templates / default / fpm.conf.erb
index 1aa405f594ebee7f78f3e553b3a6e36178233af4..386769efcc42956fc7285e94131940cbbc0cd781 100644 (file)
@@ -5,6 +5,8 @@
 listen = 127.0.0.1:<%= @port %>
 <% else -%>
 listen = /var/run/php5-fpm-<%= @name %>.sock
+listen.owner = www-data
+listen.group = www-data
 <% end -%>
 
 user = www-data
@@ -15,6 +17,6 @@ pm.max_children = <%= @max_children %>
 pm.start_servers = 20
 pm.min_spare_servers = 10
 pm.max_spare_servers = 20
-pm.max_requests = 1000000
+pm.max_requests = 10000
 
 security.limit_extensions = .php .phpx .phpj