[Mongrel] Mongrel and memory usage

Alexey Verkhovsky alexey.verkhovsky at gmail.com
Mon Nov 5 10:55:34 EST 2007

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]

More information about the Mongrel-users mailing list