Revise memory targets

This commit is contained in:
Kira 2020-03-03 11:18:40 -08:00
parent 51f8159773
commit 796a91321a

View File

@ -8,7 +8,7 @@ if defined?(Unicorn) && ENV["RAILS_ENV"] == "production"
use Unicorn::WorkerKiller::MaxRequests, 5_000, 10_000
# Max memory size (RSS) per worker
use Unicorn::WorkerKiller::Oom, (192*(1024**2)), (256*(1024**2))
use Unicorn::WorkerKiller::Oom, (386*(1024**2)), (768*(1024**2))
end
require ::File.expand_path('../config/environment', __FILE__)