Add proc ulimit and cgroups to oneiric1.

The cgroups memory limits and ulimit process limists were never applied
to the oneiric slaves. Since it has been a while apply these controls to
oneiric1 for testing before we roll them out to the other oneiric
slaves.

Change-Id: I57ff167c323d2de020872c996d823ef52500d344
Reviewed-on: https://review.openstack.org/15895
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2012-11-12 09:47:19 -08:00 committed by Jenkins
parent f6610dac2d
commit 4f1c302d37

View File

@ -251,6 +251,16 @@ node /^oneiric.*\.slave\.openstack\.org$/ {
swift_store_key => hiera('swift_store_key'),
swift_store_container => hiera('swift_store_container'),
}
if $::hostname == 'oneiric1.slave.openstack.org' {
include jenkins::cgroups
include ulimit
ulimit::conf { 'limit_jenkins_procs':
limit_domain => 'jenkins',
limit_type => 'hard',
limit_item => 'nproc',
limit_value => '256'
}
}
}
node /^.*\.jclouds\.openstack\.org$/ {