Increase max pool size so conductor doesn't implode
When horizon is used to launch 2000 VMs, nova-conductor is very busy making database connections. All 55 database connections are in use, resulting in an inability to garbage collect database connections. Instead raise the max pool to 50 which will allow 50 concurrent database connections and the max overflow to 1000 which permits the database connections to finish the job at large nodecount scales. Closes-Bug: #1565105 Change-Id: I26dc2f7fda8760197888a1d61fbc45dfada2dd06
This commit is contained in:
parent
445666a500
commit
316eee3680
@ -120,6 +120,8 @@ password = {{ neutron_keystone_password }}
|
|||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ nova_database_user }}:{{ nova_database_password }}@{{ nova_database_address }}/{{ nova_database_name }}
|
connection = mysql+pymysql://{{ nova_database_user }}:{{ nova_database_password }}@{{ nova_database_address }}/{{ nova_database_name }}
|
||||||
|
max_pool_size = 50
|
||||||
|
max_overflow = 1000
|
||||||
|
|
||||||
[api_database]
|
[api_database]
|
||||||
connection = mysql+pymysql://{{ nova_api_database_user }}:{{ nova_api_database_password }}@{{ nova_api_database_address }}/{{ nova_api_database_name }}
|
connection = mysql+pymysql://{{ nova_api_database_user }}:{{ nova_api_database_password }}@{{ nova_api_database_address }}/{{ nova_api_database_name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user