M
M
melikbekyan2017-02-08 03:37:00
Django
melikbekyan, 2017-02-08 03:37:00

Why is uwsgi not working?

https://habrahabr.ru/post/226419/ deployed the site according to this article, everything worked fine until I updated the settings.py file. After the update, uwsgi stopped working, when launched with wsgi.py, a request is made to the server and nothing starts. The site works through runserver. test.py loads via uwsgi. What is the problem?
Log:
clock source: unix
detected number of CPU cores: 1
current working directory: /opt/your-taxi
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
chdir() to /opt/your-taxi/src/
your processes number limit is 1912
your memory page size is 4096 bytes
detected max file descriptor number: 65536
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /opt/your-taxi/your-taxi.sock fd 3
Python version: 3.4.2 (default, Oct 8 2014, 10:47:48) [GCC 4.9.1]
Set PythonHome to /opt/your-taxi/venv/
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x1724dd0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 800448 bytes (781 KB) for 10 cores
*** Operational MODE: preforking ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1724dd0 pid: 8179 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid:
8179) spawned uWSGI worker 1 (pid: 8181, cores: 1)
spawned uWSGI worker 2 (pid: 8182, cores: 1)
spawned uWSGI worker 3 (pid: 8183, cores: 1)
spawned uWSGI worker 4 (pid: 8184, cores: 1)
spawned uWSGI worker 5 (pid: 8185, cores: 1)
spawned uWSGI worker 6 (pid: 8186, cores: 1)
spawned uWSGI worker 7 (pid: 8187, cores: 1)
spawned uWSGI worker 8 (pid: 8188, cores: 1)
spawned uWSGI worker 9 (pid: 8189, cores: 1)
spawned uWSGI worker 10 (pid: 8190, cores: 1)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question