yumupgrades for production use, this is the repository for you.
Active subscription is required.
Operating System and Software
- Rocky Linux 8
SSSD becomes unresponsive while continuing to run useradd continuously in batches.
# for i in `seq 1 4500` ; do useradd -s /sbin/nologin testuser$i ; done
The following error was frequently seen.
The memcache was not invalidated by NSS responder.
How to Fix
To work around the problem, temporarily stop the sssd service between successive useradd runs.
# systemctl stop sssd
Origin of the Problem
useradd in Rocky Linux 8 executes the command
sss_cache internally to clear the sssd cache.
If you run
useradd continuously to create many users,
sss_cache will also be executed each time, increasing the load on sssd backend processes such as
sssd_nss, and adversely affecting sssd performance.