*** Operational MODE: threaded ***
unable to load app 0 (mountpoint='') (callable not found or import error)
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x247bfe0 pid: 31020 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 31020)
spawned uWSGI worker 1 (pid: 31021, cores: 2)
spawned uWSGI http 1 (pid: 31022)
下附uwsgi配置
[uwsgi]
master = true
processes = 1
threads = 2
chdir = /www/wwwroot/MP/
wsgi-file= MP/wsgi.py
module = MP.wsgi:application
http = 127.0.0.1:8000
logto = /www/wwwroot/MP/logs/error.log
chmod-socket = 660
vacuum = true
uid=www
gid=www
max-requests = 1000
|
|