Skip to content

Commit

Permalink
Merge pull request #25 from benjamintanweihao/patch-1
Browse files Browse the repository at this point in the history
Fixed spelling error in README, and made instructions slightly clearer.
  • Loading branch information
kzk committed Sep 1, 2013
2 parents 14047b2 + fef074e commit 078f2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# unicorn-worker-killer

[Unicorn](http://unicorn.bogomips.org/) is widely used HTTP-server for Rack applications. One thing we thought Unicorn misssed, is killing the Unicorn workers based on the number of requests and consumed memories.
[Unicorn](http://unicorn.bogomips.org/) is widely used HTTP-server for Rack applications. One thing we thought Unicorn missed, is killing the Unicorn workers based on the number of requests and consumed memories.

`unicorn-worker-killer` gem provides automatic restart of Unicorn workers based on 1) max number of requests, and 2) process memory size (RSS), without affecting any requests. This will greatly improves site's stability by avoiding unexpected memory exhaustion at the application nodes.

Expand All @@ -12,7 +12,7 @@ No external process like `god` is required. Just install one gem: `unicorn-worke

# Usage

Add these lines to your `config.ru`.
Add these lines to your `config.ru`. (These lines should be added above the `require ::File.expand_path('../config/environment', __FILE__)` line.

# Unicorn self-process killer
require 'unicorn/worker_killer'
Expand Down

0 comments on commit 078f2c6

Please sign in to comment.