On 20 January 2016 at 16:08, Riccardo Magliocchetti <
[email protected]> wrote:
>
> $ tail emperor.log -n 5
>> thunder lock: disabled (you can enable it with --thunder-lock)
>> uwsgi socket 0 bound to UNIX address /var/uwsgi/app/web2py/socket fd 3
>> bind(): Permission denied [core/socket.c line 227]
>>
>
> ^^^^- this looks like what you have to fix, but you haven't posted your
> uwsgi configuration
>
> Apologies. Here is it:
>
<uwsgi>
<socket>/tmp/web2py_socket</socket>
#<socket>/var/run/socket</socket>
<plugin>python</plugin>
<pythonpath>/home/www-data/web2py/</pythonpath>
<mount>/=wsgihandler:application</mount>
<master/>
<processes>16</processes>
<harakiri>2400</harakiri>
<reload-mercy>8</reload-mercy>
<cpu-affinity>2</cpu-affinity>
<stats>/tmp/stats.socket</stats>
#<stats>/var/run/stats.socket</stats>
<max-requests>2000</max-requests>
<limit-as>2048</limit-as>
<reload-on-as>256</reload-on-as>
<reload-on-rss>192</reload-on-rss>
<uid>www-data</uid>
<gid>www-data</gid>
<no-orphans/>
</uwsgi>
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi