[Mono-list] How to configure N apache virtual hosts using ONE instance of MONO server.

Unai Rodriguez me at u-journal.org
Sun Apr 13 11:00:31 EDT 2008


Joshua, thank you so much for your response again.

unai

Joshua Tauberer wrote:
> Unai Rodriguez wrote:
>> Hi Joshua,
>>
>> Thank you so much for your answer/help.
>>
>>> It depends on what you're loading up in your application. My 
>>> mod-mono-server processes are in the 50-200 MB memory usage range.
>>
>> Could you please kindly provide some more details about these 
>> processes that are taking 50 to 200 MB (i.e. how many requests they 
>> are processing, etc...)?
> 
> The process with the most use (and using the most memory) serves around 
> 50,000 pages a day.
> 
>> Is there any sort of documentation that provides figures about how 
>> much memory the MONO processes are supposed to take?
> 
> Not that I know of. But it will depend entirely on what your application 
> is loading into memory.
> 
>>>> I have tried this also:
>>>>
>>>> <VirtualHost *:80>
>>>>      [...]
>>>>      ServerName  site1.example.com
>>>>      DocumentRoot /docroot1
>>>>      MonoApplications site "/:/docroot1"
>>>>      [...]
>>>> </VirtualHost>
>>>>
>>>> <VirtualHost *:80>
>>>>      [...]
>>>>      ServerName  site2.example.com
>>>>      DocumentRoot /docroot2
>>>>      MonoApplications site "/:/docroot2"
>>>>      [...]
>>>> </VirtualHost>
>>>>
>>>> In this case what happens is only one applications is active, meaning:
>>>>
>>>> http://site1.example.com -> would show up
>>>>
>>>> http://site2.example.com -> would show an Internal Server Error.
>>> This is sort of a bug.
>>
>> Sorry, I'm not sure what you mean... That's a bug on the way I put the 
>> config files or it is a mono bug?
> 
> A mono bug probably. Apache made it difficult to share configuration 
> information between vhosts, which makes it difficult to figure out how 
> to program mod_mono to do things in a shared way between vhosts. I don't 
> remember what has been resolved, since I have each of my vhosts on a 
> different mod-mono-server.
> 


More information about the Mono-list mailing list