OS: Fedora 25
/etc/uwsgi.d/pycms.ws.ini
[uwsgi]
autoload = true
plugins = python3
master = true
workers = 1
threads = 1
harakiri = 30
max-requests = 5000
chdir = /ws/pycms.ws/src
pythonpath = /ws/pycms.ws/src
pythonpath = /ws/.pyvenv/main/lib/python3.6/site-packages
virtualenv = /ws/.pyvenv/main
module = wsgi:application
chmod-socket = 777
socket = /run/uwsgi/getws.sock
logfile-chmod = 664
logto = /ws/pycms.ws/logs/uwsgi.log
python 3.6 install
dnf install zlib-devel openssl-devel
./configure
make
make altinstall
создал venv командой
python3.6 -m venv .pyvenv/main
Установил плагин с поддержкой 3.6
dnf install uwsgi-plugin-python3 --enablerepo=updates-testing
но в лог файле
[uWSGI] getting INI configuration from pycms.ws.ini
*** Starting uWSGI 2.0.14 (64bit) on [Sun Jan 15 18:06:04 2017] ***
compiled with version: 6.3.1 20161221 (Red Hat 6.3.1-1) on 13 January 2017 23:06:38
os: Linux-4.9.3-200.fc25.x86_64 #1 SMP Fri Jan 13 01:01:13 UTC 2017
nodename: localhost.localdomain
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 4
current working directory: /etc/uwsgi.d
detected binary path: /usr/sbin/uwsgi
chdir() to /ws/pycms.ws/src
your processes number limit is 15216
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 inherited UNIX address /run/uwsgi/getws.sock fd 3
Python version: 3.5.2 (default, Sep 14 2016, 11:28:32) [GCC 6.2.1 20160901 (Red Hat 6.2.1-1)]
PEP 405 virtualenv detected: /ws/.pyvenv/main
Set PythonHome to /ws/.pyvenv/main
Python main interpreter initialized at 0x1842670
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145536 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
added /ws/pycms.ws/src/ to pythonpath.
added /ws/.pyvenv/main/lib/python3.6/site-packages/ to pythonpath.
init123
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1842670 pid: 6440 (default app)
*** uWSGI is running in multiple interpreter mode ***
gracefully (RE)spawned uWSGI master process (pid: 6440)
spawned uWSGI worker 1 (pid: 6456, cores: 1)