Raise Unicorn memory limits to GitLab.com defaults
I've been looking at a customer's Unicorn logs, and I count 416 of these messages in 12 hours (35 kills/hour, or about 1 every 2 minutes):
W, [2019-04-15T12:25:35.587688 #2521] WARN -- : Unicorn::WorkerKiller send SIGQUIT (pid: 2521) alive: 553 sec (trial 1)
W, [2019-04-15T12:25:52.061058 #17025] WARN -- : Unicorn::WorkerKiller send SIGQUIT (pid: 17025) alive: 6 sec (trial 1)
Right now on GitLab.com, our limits are:
unicorn['worker_memory_limit_min'] = 786432000
unicorn['worker_memory_limit_max'] = 1073741824
I suggest that we raise it to the GitLab.com limits.
Edited by Stan Hu