]> git.openstreetmap.org Git - chef.git/commitdiff
Tune PHP-FPM for foundation wiki
authorTom Hughes <tom@compton.nu>
Wed, 18 Nov 2020 20:12:29 +0000 (20:12 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 18 Nov 2020 20:12:29 +0000 (20:12 +0000)
cookbooks/foundation/recipes/wiki.rb

index f28674feb6975dcad3eccfc1d70b202f4a7e64cf..e635b536a971c78c6f8316f77661e219cb348168 100644 (file)
@@ -26,6 +26,10 @@ mediawiki_site "wiki.osmfoundation.org" do
            "foundation.openstreetmap.org", "foundation.osm.org"]
   sitename "OpenStreetMap Foundation"
   directory "/srv/wiki.osmfoundation.org"
            "foundation.openstreetmap.org", "foundation.osm.org"]
   sitename "OpenStreetMap Foundation"
   directory "/srv/wiki.osmfoundation.org"
+  fpm_max_children 20
+  fpm_start_servers 5
+  fpm_min_spare_servers 5
+  fpm_max_spare_servers 10
   fpm_prometheus_port 11001
   database_name "osmf-wiki"
   database_user "osmf-wikiuser"
   fpm_prometheus_port 11001
   database_name "osmf-wiki"
   database_user "osmf-wikiuser"