I'm running Nginx in front of Django using FCGI. I start it something
like this in my bash sysadmin scripts:
python /foo/manage.py runfcgi host=127.0.0.1 port=9000 pidfile=/var/
foo.pid \
errlog=err.log outfile=out.log
What I'm contemplating is running multiples of this so that I use the
same manage.py file but with different pid files and different port
numbers. The objective is running more processes as opposed to running
many threads. And most importantly if a fcgi process dies another can
take over and this is taken care of by the load balancer.
Is this a good idea? Are there any risks with this approach?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.