Re:Adding Concurrency to Rails Apps with Unicorn
by kawsper on Wednesday February 27, 2013 @04:31AM
(#5291472)
Regarding memory, I think you can do something like this in your Unicorn config:
after_fork do |server, worker| size_in_bytes = 60010241024 # megabytes Process.setrlimit(Process::RLIMIT_AS, size_in_bytes)
https://github.com/kzk/unicorn-worker-killer