VM Creation Fails Due to AIO (Asynchronous I/O) limit on Hypervisor
PreviousInstance Creation Failing due to Failed NFS MountNextCompute Nodes Showing as Offline in PCD UI
Last updated
$ sysctl fs.aio-max-nr
fs.aio-max-nr = 65536 # example output$ journalctl -u libvirtd | grep aio
#example error:
Unable to use native AIO: failed to create linux AIO context: Resource temporarily unavailable# 2097152 should be a safe value to start with and can be monitored against aio-nr for a longer term
$ sudo sysctl -w fs.aio-max-nr=2097152# 2097152 should be a safe value to start with and can be monitored against aio-nr for a longer term
$ vi /etc/sysctl.conf
fs.aio-max-nr = 2097152$ sysctl fs.aio-max-nr
fs.aio-max-nr = 2097152 # Expected output