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 1331540 - multi-threaded rpc.gssd
Summary: multi-threaded rpc.gssd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 18:14 UTC by Steve Dickson
Modified: 2016-11-04 05:03 UTC (History)
3 users (show)

Fixed In Version: nfs-utils-1.3.0-0.26.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 05:03:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2383 0 normal SHIPPED_LIVE nfs-utils bug fix and enhancement update 2016-11-03 13:53:02 UTC

Description Steve Dickson 2016-04-28 18:14:46 UTC
Description of problem:

Now that every NFS mount does an upcall to the
rpc.gssd daemon, when it is running, it is 
imperative that this daemon does hang. 
Especially during a mount storm when
the client reboots and does a large number 
NFS mounts at once.

Upstream has developed and multi-threaded 
rpc.gssd daemon that creates a thread for
every upcall which decrease the changes
of hangs dramatically

Comment 1 Steve Dickson 2016-04-29 13:34:24 UTC
Here is the upstream thread

http://www.spinics.net/lists/linux-nfs/msg57333.html

Comment 2 Steve Dickson 2016-04-29 14:52:01 UTC
The upstream commits:
commit 85c5c16d29d50c1f798d60e57641cd21cec2e905
Author: Olga Kornievskaia <kolga>
Date:   Thu Apr 28 16:51:54 2016 -0400

    gssd: always call gss_krb5_ccache_name


commit 792c2a597c770738cf5c4433724504a5fc4ff7f5
Author: Olga Kornievskaia <kolga>
Date:   Thu Apr 28 16:27:14 2016 -0400

    gssd: using syscalls directly to change thread's identity

commit 8c34e538ef7492fda87b640343996dd33a2fde1d
Author: Olga Kornievskaia <kolga>
Date:   Thu Apr 28 16:21:41 2016 -0400

    gssd: use pthreads to handle upcalls

Comment 5 Steve Dickson 2016-05-16 12:12:06 UTC
These upstream commits are also needed:

commit c5dbf414ddd2fe272ac7602cd182c73ebeb090b1
Author: Olga Kornievskaia <kolga>
Date:   Sat May 14 12:19:15 2016 -0400

    gssd: no longer needed pid logic

commit d9ba9eede533fed6dde146f891d5d596016b314b
Author: Olga Kornievskaia <kolga>
Date:   Sat May 14 12:13:29 2016 -0400

    gssd: move read of upcall into main thread

Comment 8 Yongcheng Yang 2016-09-09 06:58:18 UTC
Have checked the patches mentioned in comment 2 and comment 5 have all been merged. And all regression tests passed.

Mark as SanityOnly and move to VERIFIED.

Comment 10 errata-xmlrpc 2016-11-04 05:03:38 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, 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://rhn.redhat.com/errata/RHBA-2016-2383.html


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