[Mono-list] mod_mono threads

Michał Ziemski rook at roo.k.pl
Tue Mar 27 06:26:54 EDT 2007


Adriaan napisał(a):
> I have configured apache2 with mod_mono. When i start apache, i see 5
> processes mod-mono-server2 started, but all but one are died after a moment.
> Thats logic because the same lock file is used:
> /opt/mono-1.2.3/bin/mono /opt/mono-1.2.3/lib/mono/2.0/mod-mono-server2.exe
> --filename /tmp/mod_mono_server_default
>
> When i now start a httprequest which takes very long time, all other clients
> are still waiting for that process to stop. So, it seems, mod_mono is not
> multithreaded.
> How can i configure mod_mono to run multithreaded?
>
> thanx in advance
>   
Hi!

It takes a while to process the initial request, because mod_mono is 
reading/parsing confgiuration files and compiling the page you 
requested. The following requests would be processed immediately.

Cheers!
Michał Ziemski



More information about the Mono-list mailing list