Bump RLimitNPROC for bugs web hosts
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index 5f289cb..b508416 100644 (file)
@@ -54,6 +54,12 @@ class apache2 {
        } else {
                $memlimit = 192 * 1024 * 1024
        }
+       # debbugs cgis like to fork and don't deal well with EAGAIN
+       if has_role('bugs_base') {
+               $proclimit = 450
+       } else {
+               $proclimit = 256
+       }
 
        apache2::config { 'resource-limits':
                content => template('apache2/resource-limits.erb'),