TechEmpower/FrameworkBenchmarks — pull request #543 by MalcolmEvershed (2013-10-21 00:27:09+00:00)
Title: Increase various limits to eliminate errors

This should fix #522 and #541. I just used 65535 as @bhauer suggested, even though it is pretty excessive. Anyone is free to adjust these params down to more reasonable values. I didn't fix every single framework, I'll leave that to everyone else.

-----

Set most of these config values to 65535 which is pretty big but should be
enough for the high-concurrency plaintext test.

* nginx needs more worker_connections.
* nginx should call listen() with a bigger backlog value.
* uWSGI should call listen() with a bigger backlog value.
* Increase somaxconn (which is a max for the listen() calls).
* tcp_max_syn_backlog seems to act as a max for somaxconn (according to
http://blog.dubbelboer.com/2012/04/09/syn-cookies.html), so increase it.
* Increase max file descriptor limit. For servers this will allow more
concurrent connections and for the wrk client, this will allow 16384
TCP connections plus whatever other file descriptors wrk needs to operate
(such as stdin, stdout, stderr and more).