News for hackers. Stuff that matters.
Re:Battle-ready Nginx – an optimization guide by l_perrin on Sunday November 17, 2013 @09:39AM (#6749096)
Good introduction to nginx. However, the guide states: "Keep in mind that the maximum number of clients is also limited by the number of socket connections available on your sytem (~64k)".

This is incorrect. The system can open ~64k connections per [src ip, dst ip] pair. In the case of a webserver listening on just 1 port, it means you can open 64k connections per remote IP, which is why some people can write about how they handle a million connections on a single server.

Re:Battle-ready Nginx – an optimization guide by lampington on Sunday November 17, 2013 @09:53AM (#6749154)
That's true for incoming connections, but if you're proxying back to something else then the limit does apply to the outgoing ones.
Re:Battle-ready Nginx – an optimization guide by dialtone on Sunday November 17, 2013 @02:05PM (#6750273)
Only if you don't use HTTP/1.1 on the proxy side.

    proxy_http_version 1.1;
    proxy_set_header Connection "";
In the proxy definition.