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 1870178 - sssd enum_files_users causes service timeout with 150k users
Summary: sssd enum_files_users causes service timeout with 150k users
Keywords:
Status: CLOSED DUPLICATE of bug 1693379
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.4
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 8.0
Assignee: Sumit Bose
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-19 13:27 UTC by Striker Leggette
Modified: 2020-10-15 17:01 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-15 17:01:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Striker Leggette 2020-08-19 13:27:00 UTC
[+] Description of problem:
 - When using SSSD with "id_provider = files", the SSSD service will time out during enum_files_users when there is 150k+ local users.

[+] Version-Release number of selected component (if applicable):
 - sssd-2.2.3-20.el8.x86_64

[+] How reproducible:
 - Always

[+] Steps to Reproduce:
 1. Create 150k local users
 2. Configure sssd.conf for files id provider and krb5 auth provider
 3. Start SSSD service

[+] Actual results:
 - SSSD service times out
 - Authentication takes a long time to complete
 - 'id', 'ls' and similar commands time out

[+] Expected results:
 - Since pam_krb5.so has been removed in favor of only using SSSD, SSSD should be able to perform the same exact function in some way without any sort of 'caching'

[+] Additional info:
 1. We've set "pwfield = *" within [nss]
 2. We've set "enable_files_domain = false" within [sssd]
 3. We've set "TimeoutStartUSec" in /etc/systemd/system/sssd.service to 10m.

Comment 2 Sumit Bose 2020-08-19 14:08:30 UTC
Hi,

have you tried to use

    id_provider = proxy
    proxy_lib_name = files

instead of 'id_provider = files' for this use-case?

HTH

bye,
Sumit

Comment 12 Alexey Tikhonov 2020-10-15 17:01:10 UTC

*** This bug has been marked as a duplicate of bug 1693379 ***


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