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 1807110 - rpc.gssd uses a lot of memory with krb5 mounts
Summary: rpc.gssd uses a lot of memory with krb5 mounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.8
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On: 1528207
Blocks: 1809277 1828183 1828184 1828185
TreeView+ depends on / blocked
 
Reported: 2020-02-25 15:50 UTC by Steve Dickson
Modified: 2020-09-29 20:30 UTC (History)
9 users (show)

Fixed In Version: nfs-utils-1.3.0-0.67.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1528207
: 1809277 1828183 1828184 1828185 (view as bug list)
Environment:
Last Closed: 2020-09-29 20:29:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The patch that closes the memory leaks (1.71 KB, patch)
2020-02-25 15:58 UTC, Steve Dickson
no flags Details | Diff
Updated patch that fixes memory leaks (3.75 KB, patch)
2020-03-06 14:15 UTC, Steve Dickson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4002 0 None None None 2020-09-29 20:30:12 UTC

Comment 2 Steve Dickson 2020-02-25 15:58:38 UTC
Created attachment 1665692 [details]
The patch that closes the memory leaks

Comment 5 Yongcheng Yang 2020-02-26 02:53:11 UTC
(In reply to Steve Dickson from comment #2)
> Created attachment 1665692 [details]
> The patch that closes the memory leaks

Please NOTE this patch is a bit *different* with the one mentioned in:

https://bugzilla.redhat.com/show_bug.cgi?id=1528207#c38


Maybe we need this upstream commit also:

https://patchwork.kernel.org/patch/10935705/

Comment 6 Steve Whitehouse 2020-02-26 13:06:49 UTC
I think 7.9 plus z-stream should be enough here, so I've updated the flags. Let me know if you disagree.

Comment 8 Steve Dickson 2020-02-26 16:13:24 UTC
(In reply to Yongcheng Yang from comment #5)
> (In reply to Steve Dickson from comment #2)
> > Created attachment 1665692 [details]
> > The patch that closes the memory leaks
> 
> Please NOTE this patch is a bit *different* with the one mentioned in:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1528207#c38
this stop leaks during the mount

> 
> 
> Maybe we need this upstream commit also:
> 
> https://patchwork.kernel.org/patch/10935705/
This stop leaks in the error path which is why
it didn't show up in the testing. 

We could easy add it since it does apply cleaning...

Comment 9 Steve Dickson 2020-02-26 16:15:13 UTC
(In reply to Steve Whitehouse from comment #6)
> I think 7.9 plus z-stream should be enough here, so I've updated the flags.
> Let me know if you disagree.

I wish you would reconsider... 

This needs to back to all supported z-streams...

Comment 11 Steve Dickson 2020-03-06 14:15:21 UTC
Created attachment 1668114 [details]
Updated patch that fixes memory leaks

The updated  patch does fix the memory leaks on mounts
and non-error paths. There is the valgrind report after 
running the cthon tests simultaneously for a couple days. 

==00:18:09:53.849 2313== LEAK SUMMARY:
==00:18:09:53.849 2313==    definitely lost: 0 bytes in 0 blocks
==00:18:09:53.849 2313==    indirectly lost: 0 bytes in 0 blocks
==00:18:09:53.849 2313==      possibly lost: 0 bytes in 0 blocks
==00:18:09:53.849 2313==    still reachable: 100,413 bytes in 106 blocks
==00:18:09:53.849 2313==         suppressed: 0 bytes in 0 blocks
==00:18:09:53.849 2313== 
==00:18:09:53.849 2313== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

When there is a rhel7.9 branch I will do the commit

Comment 22 errata-xmlrpc 2020-09-29 20:29:55 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 (nfs-utils 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/RHBA-2020:4002


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