[Mongrel] Mongrel and memory usage

Thomas Balthazar thomas.tmp at gmail.com
Mon Nov 5 11:09:54 EST 2007


On 11/5/07, Alexey Verkhovsky <alexey.verkhovsky at gmail.com> wrote:
> On 11/5/07, Kirk Haines <wyhaines at gmail.com> wrote:
> > On 11/5/07, Thomas Balthazar <thomas.tmp at gmail.com> wrote:
> > > I never see the two Mongrel processes memory footprint decrease.
> > > Is it normal?
> > Ruby is a garbage collected language.  Ruby has a conservative mark
> > and sweep garbage collector.
>
> But Ruby processes never release memory back to the operating system.
> So, the fact that its RSS  never goes down is normal.
>
> In normal circumstances, Mongrel should grow up to some point around
> 60-120 Mb and stay there. 300 Mb and growing is a sure sign you have a
> memory leak somewhere.
>
> --
> Alexey Verkhovsky
> CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
> RubyWorks [http://rubyworks.thoughtworks.com]
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>

Hello Alexey,

> 300 Mb and growing is a sure sign you have a memory leak somewhere.

What would you suggest me to investigate?

Thanks,
Thomas.


More information about the Mongrel-users mailing list