部署 怎么处理内存泄漏

zzwzj · June 26, 2014 · 1734 hits

我的项目是 rails 4.1.1,有调用 solr,可是一开机就占用了 3G 的内存,不知道哪里有泄漏。 有调用 oob_gc,也没用

use Unicorn::OobGC, 10

use Unicorn::WorkerKiller::MaxRequests, 3072, 4096

use Unicorn::WorkerKiller::MaxRequests, 1024, 1536

use Unicorn::WorkerKiller::Oom, (192*(1024*2)), (256(1024**2))

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.