Hello

I installed uwsgi in Linux SO with Apache Webserver, i can't trace the
problem with uwsgi configuration :

UWSGI.INI

[uwsgi]
socket = /tmp/sup.epa.sock
master = True
pcre-jit = on
thunder-lock = on
daemonize = /var/log/uwsgi/app.log
log-reopen = true
chmod-socket = 664
gid = www-data
uid = www-data

AND THE COMANDS I USE TO STOP AND RESTART UWSGI IS THE FOLLOWING :

#!/bin/bash
echo '********* kill instance ******************'
sudo kill -HUP `cat /tmp/app.pid`
uwsgi --reload /tmp/app.pid
sudo touch /tmp/app.sock

uwsgi --emperor /etc/uwsgi/vassals/

THE OUTPUT OF THE LOG IS THE FOLLOWING :

*** Starting uWSGI 1.9.17.1-debian (64bit) on [Thu Sep 17 08:09:19 2015]
***
compiled with version: 4.8.2 on 23 March 2014 17:15:32
os: Linux-3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015
nodename: ip-10-0-0-7
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 1
current working directory: /etc/uwsgi/vassals
detected binary path: /usr/bin/uwsgi-core
your processes number limit is 30038
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: enabled
unlink(): Operation not permitted [core/socket.c line 135]
bind(): Address already in use [core/socket.c line 185]

I can't understand some things in the output of the log, the pcre jit is
enabled in the configuration, but the two last lines i can't trace the
error.

Best regards, 
Paiva

 

 

 

 
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to