[Mono-devel-list] XSP/mod_mono recycling?

Miguel de Icaza miguel at novell.com
Mon Jan 31 09:55:49 EST 2005


Hello,

    Apache has a mechanism in which it recycles the server processes
every once in a while, this helps if you have a module that leaks some
kind of resource, and basically resorts to the operating system to
cleanup after it.

    Today mod_mono and xsp run everything in a single process, and am
wondering if it would not be a good idea to have them restart the
processes every once in a while?

    This for instance would help in long running applications that might
be fragmenting the Mono heap while we get a compacting GC.  This would
also help if we have some unmanaged library running on the process that
leaks, or whose managed wrapper does not properly dispose of its
resources.

    Gonzalo, any thoughts on this?

Miguel.



More information about the Mono-devel-list mailing list