Bug 646329 - taking a long time to get a result of getent group when the group has a large number of users
Summary: taking a long time to get a result of getent group when the group has a large...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: nss_ldap
Version: 5.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: Ondrej Moriš
URL:
Whiteboard:
Depends On:
Blocks: 590060
TreeView+ depends on / blocked
 
Reported: 2010-10-25 07:40 UTC by Masahiro Matsuya
Modified: 2018-11-14 17:21 UTC (History)
4 users (show)

Fixed In Version: nss_ldap-253-39.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 08:03:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1030 0 normal SHIPPED_LIVE nss_ldap bug fix update 2011-07-20 15:44:10 UTC

Description Masahiro Matsuya 2010-10-25 07:40:44 UTC
Description of problem:

A customer has some very large groups, and it takes a long time for their membership to be transferred via ldap which excessively delays our applications.

Their largest group takes almost three minutes to look up:

 rhel5 ~ # time getent group students
 students:*:1438:tester,[...]
 real    2m53.334s

This group has about 23000 users in it.

This can be fixed by a fix of http://bugzilla.padl.com/show_bug.cgi?id=293.
This added the nss_getgrent_skipmembers option, allowing group members not to be returned via ldap.

Actually, this customer confirmed the fix on their environment.


Version-Release number of selected component (if applicable):
nss_ldap-253-25

How reproducible:
Always

Steps to Reproduce:
1. configure the ldap server and ldap client
2. create a group with a large number of users. (In case of this customer, it's about 23000 users)
3. run getent
  
Actual results:
it takes a long time to get a result of getent group when the group has a large number of users.

Expected results:
getent group returns the result in a short time.

Comment 6 errata-xmlrpc 2011-07-21 08:03:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1030.html


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