[Samba] NT_STATUS_TOO_MANY_OPENED_FILES with Samba 4.0.6 and Internal DNS

Andrew Martin amartin at xes-inc.com
Wed Jul 10 08:43:37 MDT 2013


I am using Samba 4.0.6 on Ubuntu 12.04 with the internal DNS and dns forwarder set to forward to an upstream dnsmasq server as follows:
        workgroup = EXAMPLE
        realm = EXAMPLE.COM
        netbios name = DC0
        server role = active directory domain controller
        dns forwarder = 192.168.010
        idmap_ldb:use rfc2307 = Yes

        # disable printing since we're not using it and to get rid of printcap errors in log
        printcap name = /dev/null
        load printers = no
        printing = bsd

        path = /var/lib/samba/sysvol/example.com/scripts
        read only = No

        path = /var/lib/samba/sysvol
        read only = No

Samba 4 has been working well so far as an AD DC, however I have seen this message appear in the samba log:
[2013/07/10 08:52:35,  0] ../source4/smbd/process_single.c:57(single_accept_connection)
  single_accept_connection: accept: NT_STATUS_TOO_MANY_OPENED_FILES

I found this bug report and thread regarding this issue, and stating that it had been fixed in 4.0.0 rc3:

I confirmed that the attached patch is indeed applied in my copy of 4.0.6. What else can I do to debug this problem?



More information about the samba mailing list