Linux OpenLAP 修改max open files
2022-05-08默认安装OpenLDAP,其max open files个数太小,设置为1024
1、ps -ef|grep slapd
2、more /proc/9079/limits
Max open files 1024 4096 files
3、找到slapd启动脚本,为/usr/lib/systemd/system/slapd.service
修改启动脚本添加LimitNOFILE配置,
[service]
LimitNOFILE=8192
4、systemctl daemon-reload
systemctl restart slapd.service