[Bug 253871] top generates nslcd 'Size limit exceeded' on userid->username mapping
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 26 14:38:14 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253871
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 at FreeBSD.org
Reporter: christian.schaettin at 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 request
for all users will end up in:
nslcd[35022]: [99e99b] <passwd(all)> ldap_result() failed: Size limit exceeded
Therefor it would be better if the uid->username mapping is only for used
uid's.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list