error: uwsgi no python application found check your startup logs for errors

项目重启后遇到uwsgi报错:'no python application found, check your startup logs for errors'。日志显示两个错误:error1和error2。解决error1可参照处理django的mysqlclient版本问题的文章;解决error2需参考uWSGI官方文档更新module配置。" 88120110,2129299,Android线程管理实践:线程依赖与同步方案,"['Android线程管理', '线程管理', 'ThreadManager', '线程同步']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述

重启项目后,系统显示Internal Server Error错误
server Error
查看uwsgi日志

*** Starting uWSGI 2.0.18 (64bit) on [Tue Jul  7 14:35:04 2020] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-39) on 06 November 2019 09:20:33
os: Linux-3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018
nodename: achjiang
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /home/djangoProject/django_01
detected binary path: /usr/local/python3Dir/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
chdir() to /home/djangoProject/django_01
your processes number limit is 15076
your memory page size is 4096 bytes
detected max file descriptor number: 100001
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /var/uwsgi/django_01.sock fd 3
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 3.6.7 (default, Nov  6 2019, 16:36:36)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Set PythonHome to /root/.virtualenvs/env3dj
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x1019b80
uW
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值