Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am reconfiguring my website from scratch and basically I want it to run Mono(well, ASP.Net inside Mono)

According to the Mono Project there appears to be two options, Apache or Nginx.

Which one would be best for me? I'm running on Arch Linux x86-64, so I have packages for both. And I don't plan on (at least not in the immediate future) running any other software such as PHP. The only thing that must be supported is multiple-hosts support, for instance foo.com goes to Website A, and bar.com goes to Website B.

share|improve this question

closed as not constructive by jscott, Magellan, EightBitTony, voretaq7 Oct 19 '12 at 18:54

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

I would use Apache with mod_mono since fastcgi-mono-server2 for nginx is probably still causing thrashing. There are also some opened bugs (about memory leaks if I remember correctly) regarding mono fastcgi server and it's suggested to use Apache rather than nginx.

EDIT:

Thrashing: I tested it myself with old 2.4 release if I remember correctly (not sure if newer versions suffer from the same issue). Here is an article which mentions it.

Other problem we had was the mono web process and the resources it used. Going to 600-900Mb RAM and wasting a lot of CPU, even at idle time.

These two bugs are about possible memory leaks when using fastcgi-mono-server.

share|improve this answer
    
Could you please provide a reference somewhere to back this up? I did google.com/search?q=mono+asp.net+nginx+thrashing and couldn't find anything –  Earlz Jan 23 '11 at 18:00
    
Answer updated. –  yojimbo87 Jan 23 '11 at 18:22

I use Ubuntu server 11.10 (ref 1 and 2) and recommend it.

Why? Default repo's are updated frequently for all that you the to host mono based websites (Apache, Lighttp or nginx). nginx is my choice. It's a easy to maintain distro.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.