sim3x:
Я в rc.local внёс автозапуск emperor. Конфиг ребутаю командой sudo uwsgi --reload /beta/mysite.pid
В логе помимо get-запросов проскальзывает следующее:
Tue Feb 16 17:10:43 2016 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request / (ip 141.101.81.159) !!!
Tue Feb 16 17:10:43 2016 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 296] during GET / (141.101.81.159)
OSError: write error
sim3x: Так же. Убрал из конфига 'plugins'. Привожу лог
*** Starting uWSGI 2.0.12 (64bit) on [Tue Feb 16 16:41:35 2016] ***
compiled with version: 4.9.2 on 16 February 2016 17:46:28
os: Linux-3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)
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/local/bin/uwsgi
chdir() to /beta/beta/beta
your processes number limit is 3936
your memory page size is 4096 bytes
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 /beta/mysite.sock fd 3
Python version: 3.4.2 (default, Oct 8 2014, 10:47:48) [GCC 4.9.1]
Set PythonHome to /beta/beta
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x737190
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 ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x737190 pid: 419 (default app)
mountpoint already configured. skip.
*** uWSGI is running in multiple interpreter mode ***
gracefully (RE)spawned uWSGI master process (pid: 419)
spawned uWSGI worker 1 (pid: 923, cores: 1)
[pid: 923|app: 0|req: 1/1] 141.101.81.159 () {58 vars in 1088 bytes} [Tue Feb 16 16:41:39 2016] GET / => generated 138355 bytes in 754 msecs (HTTP/1.1 200) 5 headers in 281 bytes (1 switches on core 0)
announcing my loyalty to the Emperor...