Application_Timeouts CONTRIBUTORS DESIGN FAQ HACKING ISSUES KNOWN_ISSUES LICENSE Links NEWS PHILOSOPHY README SIGNALS Sandbox TUNING unicorn_1
Unicorn Configurator HttpServer OobGC PrereadInput StreamInput TeeInput Util Worker

Tuning unicorn

unicorn performance is generally as good as a (mostly) Ruby web server can provide. Most often the performance bottleneck is in the web application running on Unicorn rather than Unicorn itself.

unicorn Configuration

See Unicorn::Configurator for details on the config file format. worker_processes is the most-commonly needed tuning parameter.

Unicorn::Configurator#worker_processes

Unicorn::Configurator#listen Options

Other unicorn settings

Kernel Parameters (Linux sysctl)

WARNING: Do not change system parameters unless you know what you're doing!


We love to hear from you!
Email patches (using git send-email), pull requests (formatted using git request-pull), questions, bug reports, suggestions, etc. to us publically at:
unicorn-public@bogomips.org
Mail archives are available at: http://bogomips.org/unicorn-public/
Please send plain-text email only and do not waste bandwidth on HTML mail, HTML mail will not be read.
Quote as little as reasonable and do not top post.
For sensitive topics, email us privately at: unicorn@bogomips.org