logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: accept: too many open file descriptors: msg#00003

Subject: Re: accept: too many open file descriptors
At 08:06 PM 9/30/03, Mark_Andrews@xxxxxxx wrote:

> > Hi,
> >
> > i'm running bind 9.2.2 on Win NT 4.0.
>
>         I suggest that you run 9.2.3rc4.  The windows socket interface
>         has been replaced.  If after that you still have problems
>         lower the tcp-clients quota.

While the advice is good, this error has nothing to do with the error
message seen. Quotas won't make a difference. You are not running
out of descriptors.

> > The system maintaines 1000 zones.
> > If i have a look in the system log, i see following
> > errors:
> >
> > accept: too many open file descriptors
> >
> > Any idea how i can fix that ?
> >

The real reason for this error is that the value of the socket descriptor
returned by the accept function can be any 32-bit unsigned integer (DWORD)
on Windows. Unlike Unix the values (technically a SOCKET value) can be
any number and are not usually consecutive values limited by the fd limit.
On Window ANY value is valid. However, under the old Windows socket
design this could result in the indexing into an array well beyond the limits
of the array and thereby corrupting memory all over the map. That was one
of the reasons for the redesign. The array had to be eliminated. All the 
evidence
so far is that the new design is much more stable and reliable.

Danny

> > Thank's lot !
> > Felix
>--
>Mark Andrews, Internet Software Consortium
>1 Seymour St., Dundas Valley, NSW 2117, Australia
>PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews@xxxxxxx





<Prev in Thread] Current Thread [Next in Thread>