[Mono-list] Re: Can I control the number of XSP processes?

Robert Jordan robertj at gmx.net
Wed Aug 10 16:11:41 EDT 2005


Steve,

> When I run XSP or mod-mono-server from the command line it spawns an
> additional four processes. It looks like it spawns more when I connect
> to the TCP port it's listening on and request ASP.NET pages.

The processes you see are actually threads.

> My question is: is there a way to limit or otherwise configure the
> number of processes the XSP server spawns during setup and normal
> operation?

With mod_mono you can limit the CPU and memory usage of
the mono process. This is far better then limiting the max thread
count. Have a look at MonoMaxCPUTime and MonoMaxMemory from
mod_mono's man page.

Rob



More information about the Mono-list mailing list