diff --git a/docker/services/nova-compute.yaml b/docker/services/nova-compute.yaml index 1e87d85506..3141d2be19 100644 --- a/docker/services/nova-compute.yaml +++ b/docker/services/nova-compute.yaml @@ -11,7 +11,7 @@ parameters: description: The container image to use for the nova_libvirt config_volume type: string DockerNovaComputeUlimit: - default: ['nofile=131072'] + default: ['nofile=131072', 'memlock=67108864'] description: ulimit for Nova Compute Container type: comma_delimited_list ServiceData: diff --git a/releasenotes/notes/nova-memlock-increase-066ed22764ed3ce1.yaml b/releasenotes/notes/nova-memlock-increase-066ed22764ed3ce1.yaml new file mode 100644 index 0000000000..7d444a2234 --- /dev/null +++ b/releasenotes/notes/nova-memlock-increase-066ed22764ed3ce1.yaml @@ -0,0 +1,9 @@ +--- +fixes: + - | + Certain nova containers require more locked memory that the default limit of 16KiB. + Increase the default memlock to 64MiB via ``DockerNovaComputeUlimit``. + + As this is only a maximum limit and not a pre-allocatiosn this will not + increase the memory requirements for all nova containers. To date the only + container to require this is nova_cell_v2_discover_hosts which is short lived.