I have a server running Django/Nginx/uWSGI with uWSGI in emperor mode, and the error log for it (the vassal-level error log, not the emperor-level log) has a continual permi
The actual answer to this question appears to be this Ubuntu-specific bug:
https://bugs.launchpad.net/ubuntu/+source/libjpeg-turbo/+bug/1031718
You can work around the problem by putting the lines
setuid uwsgiuser
setgid uwsgiuser
into your upstart configuration file, and deleting the uid
and gid
settings from your uwsgi configuration.
You could try to strace
the process and see what triggers the error message, something like:
UWSGI=/usr/bin/uwsgi LOGTO=/var/log/uwsgi/emperor.log strace -f -o strace.log -etrace=open,write $UWSGI
--master --emperor /etc/uwsgi/vassals --die-on-term --auto-procname --no-orphans --logto $LOGTO --logdate