diff --git a/cookbooks/mediawiki/recipes/default.rb b/cookbooks/mediawiki/recipes/default.rb index c9c2581ee..d51d5e51a 100644 --- a/cookbooks/mediawiki/recipes/default.rb +++ b/cookbooks/mediawiki/recipes/default.rb @@ -102,6 +102,7 @@ user node[:mediawiki][:user] nice 10 runtime_max_sec 3600 + restart "on-failure" sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -119,6 +120,8 @@ 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 + restart "on-failure" sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX" @@ -136,6 +139,8 @@ 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 43200 + restart "on-failure" sandbox :enable_network => true memory_deny_write_execute false restrict_address_families "AF_UNIX"