@melikbekyan

Почему не работает uwsgi?

https://habrahabr.ru/post/226419/ по данной статье задеплоил сайт, все норм работало, пока не обновил файл settings.py. После обновления, uwsgi перестал работать, при запуске с помощью wsgi.py, идет запрос на сервер и ничего не запускается. Сайт через runserver работает. test.py через uwsgi подгружает. В чем проблема?
Лог:
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)
  • Вопрос задан
  • 542 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы