roy liang via FreeIPA-devel wrote:
my freeipa 4.3 May I ask, this parameter cannot be increased, this limit refers to where the limit?Can the system see if it can reach 262140, or is there another configuration limit in the service? apt list | grep 389-ds 389-ds/xenial,xenial 1.3.4.9-1 all ....
ldapmodify -x -H "ldaps://xx.com:636" -D "cn=directory manager" -w xxx dn: cn=config changetype: modify replace: nsslapd-maxdescriptors nsslapd-maxdescriptors: 65536
modifying entry "cn=config" ldap_modify: Server is unwilling to perform (53) additional info: nsslapd-maxdescriptors: invalid value "65536", maximum file descriptors must range from 1 to 8192 (the current process limit). Server will use a setting of 8192.
ulimit -aH core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 512646 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 262140 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 512646 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
ulimit -Hn 262140
I guess you have a per-user or per-service limit set. The max value is determined using:
getrlimit(RLIMIT_NOFILE, &rlp)
Do you have a LimitNOFILE set in the dirsrv systemd configuration perhaps? Maybe setting it there would help.
rob