FD_SETSIZE (too many open file descriptors) + BIND
oxy
oxy at field.hu
Wed Dec 17 11:40:58 PST 2008
I had the same with apache2..
here is the method what i used:
edit these files:
/usr/src/sys/sys/select.h
/usr/include/sys/select.h
change this:
#define FD_SETSIZE 1024U
to this:
#define FD_SETSIZE 4096U
cd /usr/src && make buildworld && make installworld && reboot
after this i got rid of these messages..
Ott Köstner írta:
> JINMEI Tatuya / 神明達哉 wrote:
>> At Wed, 17 Dec 2008 15:20:02 +0200,
>> Ott Köstner <ottk at zzz.ee> wrote:
>>
>>
>>> named[63198]: socket: too many open file descriptors
>>> last message repeated 26 times
>>>
>>> Bind version is: BIND 9.4.2-P2
>>>
>>
>> Please try BIND 9.4.3. Even with all attempts to mitigate the trouble
>> and with tweaking parameters, 9.4.2-P2 still has a fundamental
>> limitation on performance. It should work for the vast majority of
>> users, but you really need 9.4.3 if your server is very busy.
>>
>> ---
>> JINMEI, Tatuya
>> Internet Systems Consortium, Inc.
>>
> Thank You for your advice.
>
> Unfortunatelly there is no FreeBSD port of BIND 9.4.3 available at the
> moment. Hope this will appear soon...
>
>
> Best regards,
> O.K.
>
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list