[Mono-list] Memory usage of mod_mono

Paolo Molaro lupus@ximian.com
Thu, 17 Feb 2005 15:38:10 +0100


On 02/17/05 Mark Prins (DSL AK) wrote:
> > the site responding again. We're still working on that one and have a
> > workaround in place, of more concern is the other problem: the site
> > just gobbles up memory until it uses all available and then,
> > particularly on the production box, the whole server falls over. We've
> > had to take the site off the production server now and are running a
> > static version of the site.
> > 
> > My question is: is anyone running a busy site using mod_mono on
> > apache? Have they noticed memory usage issues? We're working with an
> > average of 50,000 hits a day on the production server, so it doesn't
> > take long for the server to fall over.
[...]
> > If I set a load generator on a simple aspx page served by a server
> > configured like this, the memory usage simply increases until
> > eventually the server gives up.

Please try mono from svn. There are several improvements in the GC
code and xsp should behave much better. For example, I just finished
a run of 25000 requests at a web service hosted with xsp that involve
a few tens of KB of data for each request and xsp's memory
usage is constant at 31 MB (virtual, 16 MB RSS).
So, please try mono from current svn and file a bug report with a test
case if you still see the memory usage increasing.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better