Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2021 14:38:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253871] top generates nslcd 'Size limit exceeded' on userid->username mapping
Message-ID:  <bug-253871-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253871

            Bug ID: 253871
           Summary: top generates nslcd 'Size limit exceeded' on
                    userid->username mapping
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: christian.schaettin@hostpoint.ch

/usr/bin/top always asks for all usernames on userid->username mapping. For
performance reason. See: root/contrib/top/username.c (L166)

But if you have an LDAP infrastructure with thousands of users than the req=
uest
for all users will end up in:

nslcd[35022]: [99e99b] <passwd(all)> ldap_result() failed: Size limit excee=
ded

Therefor it would be better if the uid->username mapping is only for used
uid's.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253871-227>