I need to run many Python web apps (mostly Django, but not all of them) on a server. Currently I'm running them with
uwsgi emperor mode (I guess... I just have all configs in
/etc/uwsgi/apps-enabled/) with such configuration:
[uwsgi] thread=3 master=1 module = ... chdir = ... socket = ... logto = ... uid = ... gid = ... chmod = ... single-interpreter = true enable-threads = true
(Last two lines are mandatory for New Relic)
The problem is, there're quite a lot of these apps and most of the time there is only one or two what's used. Maybe there is a way to run them to minimize consumation of processor time by unused apps? Right now even if noone is using any of the apps the load level can simply be more than 1.0.