Bug 2223911 - libvirtd memory leak, process grows to 22GB [NEEDINFO]
Summary: libvirtd memory leak, process grows to 22GB
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: 8.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 8.5
Assignee: Peter Krempa
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 09:05 UTC by José Enrique
Modified: 2023-08-02 15:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
josgutie: needinfo-
pkrempa: needinfo? (josgutie)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162703 0 None None None 2023-07-19 09:06:05 UTC

Description José Enrique 2023-07-19 09:05:34 UTC
Description of problem:
Libvirt daemon has a memory consumption of 22GB.

# cat ps_auxwwwm | sort -nk +6 | tail -n 3
root     2092181  1.1  0.0 33570920 217196 ?     -    Jul13  83:14 /opt/appformix/manager/venv/bin/python3 /opt/appformix/manager/venv/bin/uwsgi --http 0.0.0.0:42595 --logto /var/log/appformix/manager/uwsgi.log --log-maxsize 10485760 --enable-threads --limit-post 20971520 -w appformix_manager:host_server
root     1134562 20.8  0.0 1409684 257036 pts/1  -    12:12   0:26 /usr/libexec/platform-python -s /sbin/sosreport
root        1637  0.0  0.2 727112 531928 ?       -    Jun02  45:15 /usr/lib/systemd/systemd-journald
root        3802  0.1  7.8 22404016 20673448 ?   -    Jun02 126:51 /usr/sbin/libvirtd

Version-Release number of selected component (if applicable):

libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91.x86_64

How reproducible:


Steps to Reproduce:
I don't know how to reproduce it

Comment 2 Peter Krempa 2023-07-19 11:45:10 UTC
There was a recenlty fixed memory leak in virNodeDeviceGetXMLDesc:

https://bugzilla.redhat.com/show_bug.cgi?id=2208599

It reproduces with libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91.x86_64, which is the version mentioned above and is fixed in libvirt-8.0.0-5.10.module+el8.6.0+18949+ba4ca8a3.x86_64.

Can you please update and retry?


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