From: Tom Hughes Date: Sun, 29 Jan 2023 19:24:42 +0000 (+0000) Subject: Increase memory limit for refresh-links X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1fc5aae4221a4c6973c7c7a1462732eea66d571c Increase memory limit for refresh-links --- diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 589a95072..ef1d35346 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -132,7 +132,7 @@ end systemd_service "mediawiki-refresh-links@" do description "Refresh mediawiki links for %i" - exec_start "/usr/bin/php -d memory_limit=4096M -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=2048M" + exec_start "/usr/bin/php -d memory_limit=4096M -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=4096M" user node[:mediawiki][:user] nice 10 sandbox :enable_network => true