I use uwsgi running in the emperor mode to serve multiple Django Applications on one server. Therefore for every project I have a own config file like this one:
<uwsgi>
<master>true</master>
<processes>1</processes>
<vaccum>true</vaccum>
<chmod-socket>666</chmod-socket>
<socket>/tmp/%n.sock</socket>
<uid>www-data</uid>
<gid>www-data</gid>
<pythonpath>%d../%n</pythonpath>
<module>%n</module>
</uwsgi>
Everything works fine, the only thing which concerns me or which I don't completly understand is, when I run uwsgi with "uwsgi --emperor /home/user/apps/vassals/" I get the warning message "* WARNING: you are running uWSGI as root !!! (use the --uid flag) *".
Can I ignore that message or does it mean that uwsgi doesn't consider the uid gid settings in the project config files?
Many thanks. Mario