Welcome! Log In Create A New Profile

Advanced

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

Maxim Dounin
April 21, 2015 09:50AM
Hello!

On Tue, Apr 21, 2015 at 03:40:40PM +0200, Devika R. wrote:

> I am getting following error in my nginx logs and I don't think its
> related to the worker connections. I am on a windows 7 machine.
>
> I think the problem is to do with proxy. Any idea how to resolve this?
>
> ERROR LOG:
> 2015/04/21 09:32:28 [error] 9304#11016: *41311 maximum number of
> descriptors supported by select() is 1024 while connecting to upstream,
> client: 127.0.0.1, server: localhost, request: "GET
> /content/fci/en/home/index.html HTTP/1.1", upstream:
> "http://127.0.0.1:3000/content/fci/en/home/index.html", host:
> "localhost:4502"

Quoting http://nginx.org/en/docs/windows.html:

: A worker can handle no more than 1024 simultaneous connections.

You may try recompiling nginx with bigger FD_SETSIZE, see
http://nginx.org/en/docs/howto_build_on_win32.html. But in
general it's better idea to switch to UNIX if you are going to use
nginx in production.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

maximum number of descriptors supported by select() is 1024 while connecting to upstream

Devika R. April 21, 2015 09:42AM

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

Maxim Dounin April 21, 2015 09:50AM

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

Aleksandar Lazic April 21, 2015 09:52AM

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

itpp2012 April 21, 2015 10:15AM

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

Devika R. April 21, 2015 04:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready