[Mono-list] mod_mono process list

Joshua Tauberer jit at occams.info
Fri Oct 31 12:21:00 EDT 2008


Ben Clewett wrote:
> We are experiencing a scenario where the number of running processes 
> under mod_mono will ramp up quite fast from near zero to 60 or 70, then 
> return to zero some time soon afterwards.
> 
> We suspect that we have something locking the processes, causing this 
> behaviour, but can't find anything.
> 
> It would be extremely useful if mod_mono or xsp daemon could be queried 
> in order to list the currently running process, by the external URL 
> called to mod_mono.  Or maybe this can be done in the webservice c# code?
> 
> Can any user suggest how this might be done?

What you're describing is probably mod_mono starting up new 
mod-mono-server instances when it finds that there's none running and an 
incoming request needs to be processed. Only one mod-mono-server handles 
all of the requests (unless it's configured otherwise), so you shouldn't 
see the number of mod-mono-servers increase according to the number of 
requests being processed. Except that mod_mono may start a new 
mod-mono-server for each incoming request until it finds one running.

I don't remember the details of how this works so I don't have 
suggestions off hand, though.

Josh


More information about the Mono-list mailing list