From 89a4315e11dbaa3dbd44f93d464f3296c41bdcf8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 18 Nov 2020 20:12:29 +0000 Subject: [PATCH] Tune PHP-FPM for foundation wiki --- cookbooks/foundation/recipes/wiki.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/foundation/recipes/wiki.rb b/cookbooks/foundation/recipes/wiki.rb index f28674feb..e635b536a 100644 --- a/cookbooks/foundation/recipes/wiki.rb +++ b/cookbooks/foundation/recipes/wiki.rb @@ -26,6 +26,10 @@ mediawiki_site "wiki.osmfoundation.org" do "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" -- 2.39.5