[Samba] Internal DNS stops forwarding
mat at samba.org
Tue Oct 9 22:04:40 MDT 2012
On 10/09/2012 06:13 AM, felix at epepm.cupet.cu wrote:
>>>>> Happened again with rc2 but found that at the same time this error
>>>>> every second:
>>>>> [2012/10/05 09:01:39, 0]
>>>>> single_accept_connection: accept: NT_STATUS_TOO_MANY_OPENED_FILES
>>> root at ad:~# netstat -anp | grep 53|grep samba|wc -l
>> I think this is the direct cause of the "too many open files" error.
>>> 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
Can you provide the list of open files still ?
Also bumping the number of openfile (ulimit -n 65000 in the startup
script) should be an acceptable workaround.
More information about the samba