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 6ae5166..40d6ae6 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"
-    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