]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: increase mapserv workers
authorGrant Slater <git@firefishy.com>
Thu, 6 Sep 2018 08:17:57 +0000 (09:17 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 6 Sep 2018 08:17:57 +0000 (09:17 +0100)
cookbooks/imagery/resources/site.rb

index 6ae516628ec3dcdff85f890f778c0d87f8167fd0..40d6ae62fa777ff4c4830d90fbc0361e75da93fa 100644 (file)
@@ -103,7 +103,7 @@ action :create do
     user "imagery"
     group "imagery"
     exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}.socket"
     user "imagery"
     group "imagery"
     exec_start_pre "/bin/rm -f /run/mapserver-fastcgi/layer-#{new_resource.site}.socket"
-    exec_start "/usr/bin/spawn-fcgi -n -b 128 -s /run/mapserver-fastcgi/layer-#{new_resource.site}.socket -M 0666 -P /run/mapserver-fastcgi/layer-#{new_resource.site}.pid -- /usr/bin/multiwatch -f 2 --signal=TERM -- /usr/lib/cgi-bin/mapserv"
+    exec_start "/usr/bin/spawn-fcgi -n -b 128 -s /run/mapserver-fastcgi/layer-#{new_resource.site}.socket -M 0666 -P /run/mapserver-fastcgi/layer-#{new_resource.site}.pid -- /usr/bin/multiwatch -f 8 --signal=TERM -- /usr/lib/cgi-bin/mapserv"
     private_tmp true
     private_devices true
     private_network true
     private_tmp true
     private_devices true
     private_network true