[Mono-list] Re: Can I control the number of XSP processes?
Scaffidi, Steve
sscaffidi at ctcnet.com
Fri Aug 12 22:15:05 EDT 2005
# Oops... I hit "Reply to Sender and not Reply to List" on my last attempt!
--------------------------------------------------------------------------
My original message:
> How did you achieve that?
I wrote an init.d script (for Gentoo) that queries the configuration database for the IP addresses and UID/GIDs of all the sites using ASP.NET. The script then uses start-stop-daemon to launch a separate xsp process for each IP address, executing as the appropriate user. Technically, I could have also done this by parsing the Apache config files, but those are generated from the same database anyway.
In short, I'm not using mod_mono to spawn xsp servers. I decided that since each virtual host would require mod_mono to (I think,) spawn a separate alias process, I might as well do that externally and have the added bonus of more security.
> some PHP folks are using FastCGI for mass hosting.
Yep. I'm doing that too. :)
If anybody thinks the code would be useful, I'm happy to share it, though I may have to strip out portions for security reasons. (I'd replace with appropriate comments, of course)
More information about the Mono-list
mailing list