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

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”

NGINX.CONF:

server {
listen 4501;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
root C:/D_DRIVE/Installables/IEA/nginx-1.6.2/html;
index index.html index.htm;
include
C:/D_DRIVE/Installables/IEA/nginx-1.6.2/conf.d/include/falcon.conf;
location ~* ^.+.(jpeg|gif|png|jpg|js|css|ico|woff|svg|ttf|json) {
proxy_pass http://localhost:4502;
}

location / {

    proxy_redirect off;
    proxy_set_header Host $host:$server_port;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    client_max_body_size 10m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffers 32 4k;

    proxy_set_header authoring true;
    proxy_pass http://localhost:3000;
}

#error_page  404              /404.html;

# redirect server error pages to the static page /50x.html
#
error_page   500 502 503 504  /50x.html;
location = /50x.html {
    root   C:/D_DRIVE/Installables/IEA/nginx-1.6.2/html;
}

}

Hello!

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

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
Building nginx on the Win32 platform with Visual C. But in
general it’s better idea to switch to UNIX if you are going to use
nginx in production.


Maxim D.
http://nginx.org/

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

Try this version: http://nginx-win.ecsds.eu/

Posted at Nginx Forum:

itpp2012 wrote in post #1172401:

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

Try this version: http://nginx-win.ecsds.eu/

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

I don’t think the problem is due to number of worker threads as other
very block of ‘server config’ seems to work perfectly fine. So I think I
have somehow messed up the configuration where in its going in a loop or
something and hence wanted to know if anyone has faced the same thing.

Dear Devika.

Am 21-04-2015 15:40, schrieb Devika R.:

http://127.0.0.1:3000/content/fci/en/home/index.html”, host:
“localhost:4502”

Do you have read this right? :wink:

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

Due to this and some other known issues version of nginx for Windows is
considered to be a beta version.

Known issues

 A worker can handle no more than 1024 simultaneous connections.

BR Aleks