X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4e26287abe146e73bcd4682c5ee870ae170121f1..ab4b82d3ca1eb1be198b331203f3505c4a043b59:/cookbooks/mediawiki/recipes/default.rb diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index 51f19d1b0..215fbf1b9 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -101,6 +101,7 @@ systemd_service "mediawiki-jobs@" do exec_start "/usr/bin/php -d memory_limit=2048M -d error_reporting=22517 /srv/%i/w/maintenance/runJobs.php --server=https://%i --maxtime=175 --memory-limit=2048M --procs=8" user node[:mediawiki][:user] nice 10 + runtime_max_sec 3600 sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -118,6 +119,7 @@ systemd_service "mediawiki-email-jobs@" do exec_start "/usr/bin/php -d memory_limit=2048M -d error_reporting=22517 /srv/%i/w/maintenance/runJobs.php --server=https://%i --maxtime=55 --type=enotifNotify --memory-limit=2048M --procs=4" user node[:mediawiki][:user] nice 10 + runtime_max_sec 3600 sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -135,6 +137,7 @@ systemd_service "mediawiki-refresh-links@" do exec_start "/usr/bin/php -d memory_limit=16G -d error_reporting=22517 /srv/%i/w/maintenance/refreshLinks.php --server=https://%i --memory-limit=16G" user node[:mediawiki][:user] nice 10 + runtime_max_sec 259200 sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX"