Bug 799141
Summary: | SSSD with kerberos auth is very slow without nscd running. nscd is not supposed to run alongside of sssd! | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | jgibson |
Component: | sssd | Assignee: | Stephen Gallagher <sgallagh> |
Status: | CLOSED DUPLICATE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | grajaiya, jgalipea, jhrozek, prc |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-02 10:33:32 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: |
Description
jgibson
2012-03-01 21:02:30 UTC
Sorry, but you need to include more information. Primarily the SSSD version you are running and the SSSD logs. > (Thu Mar 1 12:31:05 2012) [sssd] [check_file] (1): lstat for > [/var/run/nscd/socket] failed: [2][No such file or directory]. > (Thu Mar 1 12:31:05 2012) [sssd] [ldb] (6): server_sort:Unable to register > control with rootdse! > (Thu Mar 1 12:31:05 2012) [sssd] [confdb_get_domain_internal] (1): No > enumeration for [default]! > (Thu Mar 1 12:31:05 2012) [sssd] [server_setup] (3): Becoming a daemon. These are just warnings. Also, the format of the debug logs shows that you are running sssd older than 1.7. Because nscd gives you a much better login time, I assume the problem is slow initgroups operation. There have been many performance improvements in both SSSD 1.7 and 1.8 related to faster initgroups. RHEL-6.3 is going to rebase the SSSD to 1.8 which might be a good place to try the performance improvements on your RHEL server. > I would be happy with this as a solution, but the redhat sssd documentation > clearly recommends that it should NOT be run with nscd side-by-side. > > "SSSD is not designed to be used with the NSCD daemon. Even though SSSD does > not directly conflict with NSCD, using both services can result in unexpected > behavior, especially with how long entries are cached." > http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/usingnscd-sssd.html nscd and SSSD both include their own caching mechanism and it's better not to mix the two. I'm going to close this bug here with the suggestion that you try out a newer version to see if your performance problem persists even with the fixes we did recently. *** This bug has been marked as a duplicate of bug 743133 *** |