Hi there, I would like to config Monit to monitor our production-unicorn-workers What memory size would you recommend to be the maximum reachable for a worker? so Monit can restart it. Thanks a lot ! Manuel Palenciano
Manuel Palenciano Guerrero <mpalenciano at gmail.com> wrote:> Hi there, > > I would like to config Monit to monitor our production-unicorn-workers > > What memory size would you recommend to be the maximum reachable for a > worker? so Monit can restart it.It depends :) Memory size varies widely between applications/deployments. It depends on your: * application + libraries + gems (including framework used) * Ruby implementation/version (MRI 1.8 vs 1.9 vs Rubinius) * machine architecture (32-bit vs 64-bit) * malloc implementation/tuning ... I have seen deployments processes where 20-30M (RSS) per-worker was expected and have also seen deployments where 300-400M was expected for the application.
On 27 Jun 2012, at 18:08, Manuel Palenciano Guerrero wrote:> I would like to config Monit to monitor our production-unicorn-workersAlternatively you could use a Rack middleware as suggested previously on the list: http://rubyforge.org/pipermail/mongrel-unicorn/2012-March/001328.html Yours, Andy Stewart
Thanks a lot for your quick replies ! On Jun 27, 2012, at 8:37 PM, Andrew Stewart wrote:> > On 27 Jun 2012, at 18:08, Manuel Palenciano Guerrero wrote: >> I would like to config Monit to monitor our production-unicorn-workers > > Alternatively you could use a Rack middleware as suggested previously on the list: > > http://rubyforge.org/pipermail/mongrel-unicorn/2012-March/001328.html > > Yours, > > Andy Stewart > _______________________________________________ > Unicorn mailing list - mongrel-unicorn at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > Do not quote signatures (like this one) or top post when replying