Bug 1302349
| Summary: | accounts-daemon makes sssd perform excessive LDAP queries | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jonathan Billings <jsbillin> |
| Component: | accountsservice | Assignee: | Ray Strode [halfline] <rstrode> |
| Status: | CLOSED DUPLICATE | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | doublezane |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | accountsservice-0.6.35-10.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-21 14:48:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jonathan Billings
2016-01-27 14:53:14 UTC
I guess one thing we could do is ignore wtmp entries that are from ssh sessions. We also should probably avoid enumerating all users if the userlist is disabled. This got fixed automatically as a side effect of fixing bug 1220904 Nearly the exact same scenerio for the computer labs I host. Red Hat Enterprise 7.2. NSLCD for user account information. Kerberos for authentication. Logging in graphically or via SSH causes a huge number of LDAP requests to be sent off. Running NSLCD in debug mode shows that the process generating all the requests is accounts-daemon accounts-daemon seems to be reading all users from wtmp and requesting info on each one, which in turn gets handed to NSLCD, which does hundreds of queries. The only solution that I've been able to come up with is cycling the wtmp logs daily so as to limit the number of users that accounts-daemon looks up. Hi, This issue should be addressed in the next synchronous update of Red Hat Enterprise Linux 7. This is really a duplicate of bug 1220904, so I'm going to mark it as such. *** This bug has been marked as a duplicate of bug 1220904 *** |