4 ms·
Regarding memory, I think you can do something like this in your Unicorn config: after_fork do |server, worker| size_in_bytes = 60010241024 # megabytes Pro
by kawsper 14y ago
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)