当前位置:论坛首页 > Linux面板 > 求助

Django项目uwsgi一直报错

发表在 Linux面板2022-8-9 17:41 [复制链接] 0 5890

*** 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

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表