URGENT, PLEASE READ: 9.5.0-P1 now available
Walter Gould
gouldwp at auburn.edu
Wed Jul 23 20:43:15 UTC 2008
JINMEI Tatuya / ???? wrote:
> At Tue, 22 Jul 2008 11:30:58 -0500,
> Walter Gould <gouldwp at auburn.edu> wrote:
>
>
>>> Hmm...I'm curious about whether the server really consumes all the
>>> possible 1024 sockets. Can you do some diagnosing, including:
>>>
>>> - checks whether the server constantly opens such a large number of
>>> sockets, e.g., by using lsof
>>>
>>>
>> When I run lsof, the number of named UDP sockets opened is right at 995
>> to 999.
>>
>
> Thanks, then it really consumes all available sockets (file
> descriptors, more accurately). Then the options I can think of are:
>
> - move to a beta (probably you don't want to do that)
> - use a larger FD_SETSIZE like 4096 and recompile named with it, if
> you OS allows such a dynamic change of FD_SETSIZE
>
>
>
Thanks - using a larger FD_SETSIZE seems to have worked. I set the
#define __FD_SETSIZE in /usr/include/linux/posix_types.h to 4096, saved
and recompiled named and now named is not crashing as it was before with
the "too many open files" error.
Thanks for your help,
Walter
--
Walter P. Gould
Info. Tech. Specialist
Office of Information Technology
Auburn University, AL
More information about the bind-users
mailing list