Merge "optimize qemu.conf"

This commit is contained in:
Zuul 2019-01-18 11:07:16 +00:00 committed by Gerrit Code Review
commit da3cf0958e
3 changed files with 17 additions and 0 deletions

View File

@ -397,6 +397,13 @@ nova_enabled_notification_topics: "{{ nova_notification_topics | selectattr('ena
vmware_vcenter_datastore_regex: ".*"
ovs_bridge: "nsx-managed"
####################
# Libvirt/qemu
####################
# The number of max files qemu can open
qemu_max_files: 32768
# The number of max processes qemu can open
qemu_max_processes: 131072
####################
# Kolla

View File

@ -2,3 +2,6 @@ stdio_handler = "file"
user = "nova"
group = "nova"
max_files = {{ qemu_max_files }}
max_processes = {{ qemu_max_processes }}

View File

@ -0,0 +1,7 @@
---
features:
- |
Bump up the max_files to 32768 and max_processes to 131072.
when nova used ceph as backend, the default limit 1024 is not enough.
each connection from rbd image to osd needs 1 fd and 2 threads. if we
have 200 osds, we need 200 fds and 400 threads for 1 image.