Change number of threads of keystone to 1
The number of keystone threads in apache was changed to 1 to solve keystone performance degradation issue. Change-Id: Iba8f2c7a6f7da10caae2c451ea420f88d6c28a46 Closes-Bug: #1628534
This commit is contained in:
parent
bedf69fc40
commit
22652dc0a7
@ -151,7 +151,7 @@ class openstack_tasks::keystone::keystone {
|
||||
|
||||
class { '::keystone::wsgi::apache':
|
||||
priority => '05',
|
||||
threads => 3,
|
||||
threads => 1,
|
||||
workers => min($::processorcount, 6),
|
||||
ssl => $ssl,
|
||||
vhost_custom_fragment => $vhost_limit_request_field_size,
|
||||
|
@ -206,26 +206,26 @@ describe manifest do
|
||||
should contain_keystone_config('eventlet_server/admin_workers').with(:value => service_workers)
|
||||
end
|
||||
|
||||
it 'should declare keystone::wsgi::apache class with 4 processess and 3 threads on 4 CPU system' do
|
||||
it 'should declare keystone::wsgi::apache class with 4 processess and 1 threads on 4 CPU system' do
|
||||
should contain_class('keystone::wsgi::apache').with(
|
||||
'threads' => '3',
|
||||
'threads' => '1',
|
||||
'workers' => '4',
|
||||
'vhost_custom_fragment' => 'LimitRequestFieldSize 81900'
|
||||
)
|
||||
end
|
||||
|
||||
it 'should declare keystone::wsgi::apache class with 6 processes and 3 threads on 48 CPU system' do
|
||||
it 'should declare keystone::wsgi::apache class with 6 processes and 1 threads on 48 CPU system' do
|
||||
facts[:processorcount] = 48
|
||||
should contain_class('keystone::wsgi::apache').with(
|
||||
'threads' => '3',
|
||||
'threads' => '1',
|
||||
'workers' => '6'
|
||||
)
|
||||
end
|
||||
|
||||
it 'should declare keystone::wsgi::apache class with 1 process and 3 threads on 1 CPU system' do
|
||||
it 'should declare keystone::wsgi::apache class with 1 process and 1 threads on 1 CPU system' do
|
||||
facts[:processorcount] = 1
|
||||
should contain_class('keystone::wsgi::apache').with(
|
||||
'threads' => '3',
|
||||
'threads' => '1',
|
||||
'workers' => '1'
|
||||
)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user