Re: [389-users] too many fds open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-server-not-accepting-new-connections-800165/),
> 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!
>

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux