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

Maxim Dounin mdounin at mdounin.ru
Tue Apr 21 13:49:37 UTC 2015


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/



More information about the nginx mailing list