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!

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 mongrel-unicorn@rubyforge.org.
No subscription to the mailing list is necessary, just let us know to Cc: you if you're unsubscribed.
To subscribe, email mongrel-unicorn-request@rubyforge.org with "subscribe" in the Subject and respond to the automated confirmation message.
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.