0
我試圖運行此代碼UWSGI沒有運行Django項目
uwsgi --emperor的/ etc/uwsgi /附庸--uid www數據--gid www數據
我我正在關注this tutorial.但是我得到了下面的輸出結果。
*** Starting uWSGI 2.0.11.2 (64bit) on [Thu Nov 5 04:42:12 2015] ***
compiled with version: 4.8.4 on 04 November 2015 16:32:43
os: Linux-3.16.0-52-generiC#71~14.04.1-Ubuntu SMP Fri Oct 23 17:24:53 UTC 2015
nodename: myproject
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /var/www/myproject
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 15305
your memory page size is 4096 bytes
detected max file descriptor number: 1024
*** starting uWSGI Emperor ***
這是我的.ini文件
plugins = python
chdir = /var/www/myproject/
module = myproject.wsgi:application
home = /var/www/
master = true
processes = 10
socket = /var/www/myproject/uwsgi.sock
chmod-socket = 666
vacuum = true
我的代碼正在與該
uwsgi --ini myproject.ini
請幫我解決這個難題謝謝。
完成!但沒有運氣。你能給我一個來自/ etc/ini的uwsgi.conf演示嗎? –
它似乎工作正常!你有沒有嘗試連接nginx?您現在可以忽略警告。 –
是的,我嘗試過。套接字文件沒有創建。所以502壞門戶。 –