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#listen Options

Other Unicorn settings

Kernel Parameters (Linux sysctl)

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

Originally generated with the Darkfish Rdoc Generator 2, modified by wrongdoc.

We love to hear from you!
Email patches (with git send-email), pull requests, questions, bug reports, suggestions, etc. to us publically at: unicorn-public@bogomips.org
This is a public-inbox with no sign up required. Please Cc: all recipients on replies, as not everybody subscribes with ssoma.
See http://bogomips.org/unicorn-public/ for archives and more information.
Do not waste bandwidth with HTML, HTML mail will not be read.
Quote only parts you're responding to and do not top post.
For sensitive topics, email us privately at: unicorn@bogomips.org