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

Devika R. lists at ruby-forum.com
Tue Apr 21 13:40:40 UTC 2015


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;
    }
}

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list