Get your own customer support community
 

Is it normal for mongrel to never release memory?

We just started using NewRelic for performance monitoring (it's
awesome btw). It has given us a lot of insight into how our
application is running.

One thing we've noticed is memory usage. Our mongrels normally take up
about 118MB of memory. Sometimes the memory usage increases
dramatically. We've determined that the increases in memory usage
occurs when specific reports are run. When these specific reports are
run the memory usage will increase to over 1GB.

My question is this; after these reports (actions) are finished, the
memory is never released. The mongrel continues to hold over 1GB of
memory, even though the large request is over and done. I first
thought there was a problem in our actions and we needed to do
something to fix it to release the memory. Since then I've noticed
that when any of the mongrels increase their memory usage (even a
little bit) the memory usage NEVER goes down. We have to restart the
mongrels for it to release the memory.

Is this normal? Is mongrel just greedy? Does it never release memory
once it's allocated? Or is this a sign that something is not right in
my app?
 
sad I’m confused
Inappropriate?
2 people have this question

User_default_medium