Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    please fix the command to ulimit not ulimits Commented Oct 6, 2016 at 14:40
  • 2
    Note net.ipv4.ip_local_port_range is only relevant for outgoing connections, not not for incoming connections (as is typical with nginx on e.g. ports 80 and 443); see here. Commented Jun 27, 2018 at 14:19
  • 1
    @nh2 but if one's using nginx as reverse proxy, there are at least 2 sockets open per client connection, and then it matters how many local ports the kernel can allow sockets to bind to. Commented Jun 27, 2018 at 14:56
  • Yes that's correct. Commented Jun 27, 2018 at 20:12