Bug 979046
| Summary: | sssd_be goes to 99% CPU and causes significant login delays when client is under load | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dmitri Pal <dpal> | |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> | |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.5 | CC: | grajaiya, jgalipea, lslebodn, mkosek, nc, nsoman, pbrezina | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | sssd-1.9.2-98.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The IPA provider attempted to store the original value of member attribute to the cache during HBAC evaluation and the values were processed by memberof plugin which required a lot of processing time in environment with very large hostgroups.
Consequence: sssd_be process gone to 99% CPU for a while and users experienced significant login delays.
Fix: Member attribute is no longer stored.
Result: HBAC evaluation is much faster.
|
Story Points: | --- | |
| Clone Of: | 979045 | |||
| : | 979047 (view as bug list) | Environment: | ||
| Last Closed: | 2013-11-21 22:20:28 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 979045 | |||
| Bug Blocks: | 979047 | |||
|
Description
Dmitri Pal
2013-06-27 13:35:25 UTC
Steps to reproduce: https://bugzilla.redhat.com/show_bug.cgi?id=979045#c2 Fixed upstream. Tested using ipa-server-3.0.0-36.el6.x86_64, sssd-1.9.2-127.el6.x86_64, ipa-client-3.0.0-36.el6.x86_64 Added a host group - hostgroup1 Added 2000 hosts Added these hosts to the hostgroup Installed ipaclient, and added that host to same hostgroup Added hbac rule, allowing user (user one) to access hosts in the hostgroup (hostgroup1), and allowing access to a service (sshd). Disabled hbac rule allow_all Ran kdestroy ssh'd as user (one) from master server to the host where the rhel 6.5 client is installed. There was no cpu spikes or messages in sssd.log 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. http://rhn.redhat.com/errata/RHBA-2013-1680.html |