[Samba] Internal DNS stops forwarding

felix at epepm.cupet.cu felix at epepm.cupet.cu
Tue Oct 9 07:13:18 MDT 2012


>>>> Happened again with rc2 but found that at the same time this error
>>>> shows
>>>> every second:
>>>>
>>>> [2012/10/05 09:01:39,  0]
>>>> ../source4/smbd/process_single.c:56(single_accept_connection)
>>>>    single_accept_connection: accept: NT_STATUS_TOO_MANY_OPENED_FILES
>>
>> root at ad:~# netstat -anp | grep 53|grep samba|wc -l
>> 1003
>
> I think this is the direct cause of the "too many open files" error.
>
>> https://bugzilla.samba.org/show_bug.cgi?id=8878
>>
>> In a nutshell I suspect that our server sends forward requests to
>> the forwarder that are never answered and the connections piles
>> up, once we reached the limit (1024 ?) the server didn't accept
>> any new connections.
>
> Seems likely.

I think it is. Because all the connections I see when the error occurs are
related to the forwarder I declared in smb.conf.
The number of connections keeps growing again until the error appears. So
I have to restart samba.
And, yes, lsof, shows that all connections but 2 are related to the
forwarder.

Cheers,
Felix.




More information about the samba mailing list