Bug 2060945 - libvirt: the unix domain socket remains even after the VM is destroyed
Summary: libvirt: the unix domain socket remains even after the VM is destroyed
Keywords:
Status: CLOSED DUPLICATE of bug 2045879
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: 8.5
Assignee: Michal Privoznik
QA Contact: Lili Zhu
URL:
Whiteboard:
Depends On:
Blocks: 2057048 2063286
TreeView+ depends on / blocked
 
Reported: 2022-03-04 16:15 UTC by Michal Privoznik
Modified: 2022-03-16 08:08 UTC (History)
20 users (show)

Fixed In Version: libvirt-8.0.0-3.module+el8.6.0+14098+5bee65f4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2045879
: 2063286 (view as bug list)
Environment:
Last Closed: 2022-03-16 08:07:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-114546 0 None None None 2022-03-04 16:30:19 UTC
Red Hat Knowledge Base (Solution) 6812471 0 None None None 2022-03-15 03:24:47 UTC

Comment 10 Lili Zhu 2022-03-11 09:18:51 UTC
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

Comment 14 Jiri Denemark 2022-03-16 08:07:45 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.