[Mono-list] Garbage collection and memory usage

Miguel de Icaza miguel at ximian.com
Sat Apr 8 12:56:27 EDT 2006


Hello,

> Do I wait for the site to grind to a halt, and then attach gdb? Do I
> hook gdb in as soon as the mod-mono-server.exe process begins? What gdb
> options do I need to deal with multi-threads? Finally, do I need to
> recompile mono to include extra debug symbols?

You attach to the running mono process when it hangs, this will be the
one that looks like:

	mono mod-mono-server.exe

You do not need to recompile Mono, am looking for the managed stack
traces in this particular case.

One thing that might help (on private email if you have to) is to
describe what kind of things your application is doing: what database
provider, whether you can run pieces of the application from the command
line (no web version).

Another possible reason for the failure might be a leak on the specific
database provider.

Finally, we can sign an NDA so my team can look at the source code and
track down the leaks.

Miguel.


More information about the Mono-list mailing list