>>>> 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@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.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to