Reduce number of workers to 2 when possible
Reducing workers will help us to consume less memory reduce the number of timeouts we have in upstream CI. * Neutron & Swift: reduce from 4 to 2 workers * When possible, set workers to 2: aodh, ceilometer, gnocchi. Change-Id: Ie064a9ad0389f112bbb69f4253f7f6dbc26deb0a
This commit is contained in:
parent
82b4ea212d
commit
6140ae6fc3
@ -44,7 +44,8 @@ class openstack_integration::aodh {
|
||||
service_name => 'httpd',
|
||||
}
|
||||
class { '::aodh::wsgi::apache':
|
||||
ssl => false,
|
||||
workers => 2,
|
||||
ssl => false,
|
||||
}
|
||||
class { '::aodh::auth':
|
||||
auth_url => 'http://127.0.0.1:5000/v2.0',
|
||||
|
@ -41,9 +41,13 @@ class openstack_integration::ceilometer {
|
||||
ssl => false,
|
||||
workers => '2',
|
||||
}
|
||||
class { '::ceilometer::collector': }
|
||||
class { '::ceilometer::collector':
|
||||
collector_workers => '2',
|
||||
}
|
||||
class { '::ceilometer::expirer': }
|
||||
class { '::ceilometer::agent::notification': }
|
||||
class { '::ceilometer::agent::notification':
|
||||
notification_workers => '2',
|
||||
}
|
||||
class { '::ceilometer::agent::polling': }
|
||||
class { '::ceilometer::agent::auth':
|
||||
auth_password => 'a_big_secret',
|
||||
|
@ -23,7 +23,8 @@ class openstack_integration::gnocchi {
|
||||
}
|
||||
include ::apache
|
||||
class { '::gnocchi::wsgi::apache':
|
||||
ssl => false,
|
||||
workers => 2,
|
||||
ssl => false,
|
||||
}
|
||||
class { '::gnocchi::client': }
|
||||
class { '::gnocchi::db::sync': }
|
||||
|
@ -36,7 +36,8 @@ class openstack_integration::neutron {
|
||||
auth_password => 'a_big_secret',
|
||||
identity_uri => 'http://127.0.0.1:35357/',
|
||||
sync_db => true,
|
||||
api_workers => 4,
|
||||
api_workers => 2,
|
||||
rpc_workers => 2,
|
||||
}
|
||||
class { '::neutron::plugins::ml2':
|
||||
type_drivers => ['vxlan'],
|
||||
|
@ -6,7 +6,7 @@ class openstack_integration::swift {
|
||||
}
|
||||
class { '::swift::proxy':
|
||||
proxy_local_net_ip => '127.0.0.1',
|
||||
workers => '4',
|
||||
workers => '2',
|
||||
pipeline => [
|
||||
'catch_errors', 'healthcheck', 'cache', 'tempurl', 'ratelimit',
|
||||
'authtoken', 'keystone', 'formpost', 'staticweb', 'container_quotas',
|
||||
|
Loading…
x
Reference in New Issue
Block a user