(venv) [root@VM-8-12-centos backend]# uwsgi --ini uwsig_scripts/uwsgi.ini
[uWSGI] getting INI configuration from uwsig_scripts/uwsgi.ini
*** WARNING: Can't find section "uwsgi" in INI configuration file uwsig_scripts/uwsgi.ini ***
uwsgi.ini 文件第一行一定要以 [uwsgi] 开头。
在最上方加上 [uwsgi],有时候明明有标识,但是还是提示,那就再加一个
*** Starting uWSGI 2.0.26 (64bit) on [Sat Aug 31 14:43:10 2024] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-44) on 30 August 2024 11:24:09
os: Linux-3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024
nodename: VM-8-12-centos
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /root/MYPROJECT/backend
detected binary path: /root/MYPROJECT/backend/venv/bin/uwsgi
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 7908
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 running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
The -s/--socket option is missing and stdin is not a socket.
(venv) [root@VM-8-12-centos backend]#
标签:--,running,ini,root,uwsgi,uWSGI From: https://www.cnblogs.com/emanlee/p/18390283