Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Can you help me with my capacity planning?

I am looking for advice for our web server configuration.

  • SaaS model startup (same app, different databases and subdomains).

  • Serving 50+ sites right now.

  • Dedicated server with 8GB of Memory

  • Only about 20% of them have a moderate traffic.

  • Our configuration is Nginx on port 80 with a reverse proxy to apache where python/django is run via mod_wsgi, Centos is the Linux Distribution.

We are looking for alternatives because each low (even if by low we mean none) traffic site consumes about 18 Mb, we have already memory warnings. So what advices do you have?.

Will serving directly from nginx with gunicorn/fastcgi/uWSGI increase our capacity to serve many more sites? what other kind of confiuguration do yo reccomend?.

I have a mostly developer background so any explanation would be welcomed. Thanks....

share|improve this question

marked as duplicate by Sven, mdpc, Scott Pack, dunxd, John Gardeniers Jan 25 '13 at 9:49

This question was marked as an exact duplicate of an existing question.

up vote 0 down vote accepted

I would diwtch mod_wsgi and switch to uwsgi. Run it in emperor mode so you have 1 uwsgi process for all vhosts

share|improve this answer

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