RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1935246 - fix qemu-ga-win resource leaks [rhel-8.5.0]
Summary: fix qemu-ga-win resource leaks [rhel-8.5.0]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virtio-win
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Basil Salman
QA Contact: dehanmeng
URL:
Whiteboard:
Depends On: 1929144
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-04 14:55 UTC by RHEL Program Management Team
Modified: 2021-11-10 01:55 UTC (History)
10 users (show)

Fixed In Version: mingw-qemu-ga-win-102.2.0-2.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1929144
Environment:
Last Closed: 2021-11-09 18:52:45 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:4341 0 None None None 2021-11-09 18:53:03 UTC

Comment 3 Yvugenfi@redhat.com 2021-06-17 11:23:12 UTC
The fix in mingw-qemu-ga-win-102.4.0-0.el8

Comment 4 dehanmeng 2021-06-18 02:22:07 UTC
reproduce this issue:
version:
mingw-qemu-ga-win-101.2.0-1.el7ev

Steps:
1. bootup win2016 guest and run qemu-ga.
2. run powershell.exe and execute command "PS C:\Users\Administrator> while(1) { Get-Process -ProcessName qemu-ga; sleep 5 }" while running command "cat <(for i in {1..1000}; do echo '{"execute":"guest-get-osinfo"}'; sleep 2; echo '{"execute":"guest-get-devices"}'; sleep 2; done)  | nc -U /tmp/qga.sock > log" on host.

actual result:
handles raise up without limit, actually it should be limited to less than 300, but now it cause resource leak.
Expected result:
handles maintain a stable value.

Verify this issue 
version:
mingw-qemu-ga-win-102.4.0-0.el8
qemu-ga-win-102.4.0-0.el8.noarch.rpm
qemu-kvm-docs-6.0.0-19.module+el8.5.0+11385+6e7d542e.x86_64
RHEL-8.5.0-20210611.n.0

steps as above:
Actual result:
Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessName
-------  ------    -----      -----     ------     --  -- -----------
    145      13     2052       8380       0.02   3612   0 qemu-ga
    152      14     2264       9060       0.05   3612   0 qemu-ga
    152      14     2292       9100       0.11   3612   0 qemu-ga
    152      14     2312       9112       0.14   3612   0 qemu-ga
    152      14     2296       9108       0.16   3612   0 qemu-ga
    152      14     2296       9108       0.19   3612   0 qemu-ga
    152      14     2296       9108       0.25   3612   0 qemu-ga
    152      14     2300       9108       0.27   3612   0 qemu-ga
    152      14     2300       9108       0.28   3612   0 qemu-ga
    152      14     2300       9112       0.30   3612   0 qemu-ga
    152      14     2260       9068       0.36   3612   0 qemu-ga
    152      14     2232       9076       0.39   3612   0 qemu-ga
    152      14     2220       9064       0.42   3612   0 qemu-ga
    152      14     2244       9088       0.44   3612   0 qemu-ga
    ...
    ...
    ...
    152      14     2252       9088       1.64   3612   0 qemu-ga
    152      14     2256       9092       1.67   3612   0 qemu-ga
    152      14     2240       9092       1.69   3612   0 qemu-ga
Expected result:
handles maintain a stable value.

Comment 7 errata-xmlrpc 2021-11-09 18:52:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virtio-win bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:4341


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