not enough file descriptors

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

 



MJD Shop Account wrote:
> I have a problem with running out of file descriptors.  I get this repeating message periodically in the /opt/fedora-ds/slapd-<servername>/logs/errors file:
> [02/Mar/2007:13:25:45 -0500] - Not listening for new connections - too many fds open
> [02/Mar/2007:13:25:46 -0500] - Listening for new connections again
> [02/Mar/2007:13:25:47 -0500] - Not listening for new connections - too many fds open
> [02/Mar/2007:13:25:47 -0500] - Listening for new connections again
> ...
>
> When this happens, the users cannot log in for long periods and get angry.  Imagine that.  I do have this in a multi-master configuration with a second master, which is different hardware and does not show this error.
>
> I read the tuning page http://directory.fedora.redhat.com/wiki/Performance_Tuning#Linux, which recommends updating the filedescriptors limit like so:
> echo "64000" > /proc/sys/fs/file-max
>
> However mine is already well above that:
> # cat /proc/sys/fs/file-max
> 128456
>
> How much higher should I be setting it?  I am running RHEL 4 update 4, single Pentium III 1.4GHz processor, 1280MB of memory.
>
> I don't have any settinsg in sysctl.conf or /etc/security/limites for soft/hard limits, how do I tell what the defaults on soft/hard limits are?
>   
I think you also have to edit /opt/fedora-ds/slapd-instance/start-slapd 
and put 'ulimit -n yourlimit' somewhere near the top of the file.
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20070302/e8fbe03a/attachment.bin 


[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