【发布时间】:2011-10-14 17:26:11
【问题描述】:
我在 unicorn 中寻找,但没有找到类似于 gunicorn 的 max_requests 或 apache 的 MaxRequestsPerChild 的 max-requests-per-worker 选项。
它存在吗?
如果没有,有没有人实现过?
我正在考虑将它放在我有 oobgc 的文件中,因为无论如何它都会在每次请求之后得到控制。听起来对吗?
问题是我的独角兽工人越来越胖,垃圾收集越来越多地占用我的 CPU。
【问题讨论】:
标签: ruby-on-rails garbage-collection performance unicorn