Tested this bug with:
libvirt-8.0.0-5.module+el8.6.0+14344+04da0821.x86_64
qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64
glib2-2.56.4-158.el8.x86_64
1. change the value of LimitNOFILE in /usr/lib/systemd/system/libvirtd.service
# cat /usr/lib/systemd/system/libvirtd.service
...
LimitNOFILE=100
...
2. reload the daemon
# systemctl stop libvirtd
# systemctl daemon-reload
# systemctl start libvirtd
3. prepare a guest xml
4. creating and destroy the guest repeatedly
for i in {1..1000}; do echo $i; virsh create avocado-vt-vm1.xml; virsh destroy avocado-vt-vm1; done
1
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml
Domain 'avocado-vt-vm1' destroyed
....
999
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml
Domain 'avocado-vt-vm1' destroyed
1000
Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml
Domain 'avocado-vt-vm1' destroyed
Since there's technically no RHEL-AV 8.6.0 (it's content is exactly the same
as RHEL 8.6.0), I'm closing this BZ as a duplicate of the RHEL bug 2045879.
This bug was only needed for requesting RHEL-AV 8.5.0.z clone and there's no
use for this BZ now.
Please direct any questions either to the mentioned RHEL 8.6.0 bug or to the
RHEL-AV 8.5.0.z bug 2063286.
*** This bug has been marked as a duplicate of bug 2045879 ***
Tested this bug with: libvirt-8.0.0-5.module+el8.6.0+14344+04da0821.x86_64 qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64 glib2-2.56.4-158.el8.x86_64 1. change the value of LimitNOFILE in /usr/lib/systemd/system/libvirtd.service # cat /usr/lib/systemd/system/libvirtd.service ... LimitNOFILE=100 ... 2. reload the daemon # systemctl stop libvirtd # systemctl daemon-reload # systemctl start libvirtd 3. prepare a guest xml 4. creating and destroy the guest repeatedly for i in {1..1000}; do echo $i; virsh create avocado-vt-vm1.xml; virsh destroy avocado-vt-vm1; done 1 Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml Domain 'avocado-vt-vm1' destroyed .... 999 Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml Domain 'avocado-vt-vm1' destroyed 1000 Domain 'avocado-vt-vm1' created from avocado-vt-vm1.xml Domain 'avocado-vt-vm1' destroyed