Red Hat Bugzilla – Bug 103560
System goes non-responsive - Too Many Files Open
Last modified: 2014-08-31 19:25:20 EDT
From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Description of problem: Compiled Samba 2.2.7-3.21 from sourse RPM to include LDAP backend functionality - hence the ".nei" identifier. Machine will run for weeks handing our files for our main office. Then without warning refuses to allow additional connects. When this happens, I can not log on - even as root - at the local terminal. Only solution is a reboot of the machine. Version-Release number of selected component (if applicable): Samba-2.2.7-3.21as.nei How reproducible: Always Steps to Reproduce: 1.Let the machine run for a week or so. 2. 3. Actual Results: Machine becomes unresposive - requires reboot to resolve. Expected Results: The machine should not have stopped responding. Additional info: clipped from /var/log/messages: Aug 24 20:20:00 stargazer slapd[32271]: warning: cannot open /etc/hosts.allow: Too many open files Aug 24 20:20:00 stargazer slapd[32271]: warning: cannot open /etc/hosts.deny: Too many open files Aug 24 20:20:00 stargazer slapd[32271]: warning: cannot open /etc/hosts.allow: Too many open files Aug 24 20:20:00 stargazer slapd[32271]: warning: cannot open /etc/hosts.deny: Too many open files Machine is runnining: OpenLDAP - 2.0.27-2.7.3 as "Master Directory Server" DHCPD - 2.0p15-8 Did "Server" install, so anything that comes along with that process in on the machine as well.
We don't support the LDAP code in Samba-2.2.7, which is why Samba isn't compiled with it. You can try asking for help on the Samba mailing lists, or try the Red Hat Enterprise Linux 3 Beta, which contains Samba 3.0.0rc1 with built-in LDAP support. If you can reproduce this problem using the Red Hat supplied binary RPMs, reopen this bug.