you need to edit /etc/security/limits.conf add an entry for nofile the the default is 1024 the max is 65536 (1024 * 64 ) here is an extreme example setting it to the max for all users
" * hard nofile 65536 * soft nofile 65536 "
after you have made the change log out and log back in you can use "ulimit -a " to verify after you log back in then restart the directory server.
On 8/26/2011 2:11 AM, Martin Stiborský wrote:
Hello, I'd like to ask you here for help with problem with 389 Fedora LDAP. Our LDAP fail every day, because of "too many fds open" problem, as is logged in log file… I've found many posts about it on internet (this is one seems to be useful http://www.linuxquestions.org/questions/linux-enterprise-47/fedora-directory...), but still the problem is there even after raise of few limits.
When the ldap failed, I checked number of created "fd" by dirsrv process with ls -l /proc/$DIRSRV_PID/fd | wc -l and it was about ~1000 files, so probably some limit in system is still in use (fds per process or user??).
Please, could you give me a hint? Thanks a lot!