Windows 1024 Connections Limit

oscaretu . oscaretu at gmail.com
Thu Apr 13 08:09:04 UTC 2017


Since two days ago Windows Vista is part of the past:

http://www.theverge.com/2017/4/11/15241580/microsoft-windows-vista-end-of-support

Kind regards,
Oscar

El El jue, 13 abr 2017 a las 9:55, B.R. via nginx <nginx at nginx.org>
escribió:

> Even though using nginx on Windows goes way over my head (even for
> development) and/or seing WIndows as any kind of server, I read that
> Windows Vista+ support the poll (well, actually WSAPoll
> <https://msdn.microsoft.com/en-us/library/windows/desktop/ms741669.aspx>)
> system call.
> Since XP may now reasonably be called something of the past, would not it
> be nice to go for it? No epoll, though.
> ---
> *B. R.*
>
> On Wed, Apr 12, 2017 at 7:42 PM, Igal @ Lucee.org <igal at lucee.org> wrote:
>
>> Maxim,
>>
>> On 4/12/2017 5:57 AM, Maxim Dounin wrote:
>>
>>>
>>> On Windows, nginx uses select() system call to handle connection
>>> events.  This syscall implies fixed-size bitmasks to pass file
>>> descriptors from userland to kernel and back.  Size of these
>>> bitmasks can be only specified during compilation, and 1024 is the
>>> value nginx uses for official binaries to balance between maximum
>>> number of connections and unneeded overhead implied by large
>>> bitmasks.
>>>
>>> It is possible to recompile nginx with different value if you need
>>> to, see http://nginx.org/en/docs/howto_build_on_win32.html.
>>>
>>> On ther other hand, if you are using nginx in production I would
>>> recommend to consider using Unix variants instead.
>>>
>>
>> Thank you very much for the explanation and recommendation,
>>
>>
>> Igal
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

-- 
Oscar Fernandez Sierra
oscaretu at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170413/c96b093c/attachment.html>


More information about the nginx mailing list