我正在尝试将 nginx 与 uwsi 一起使用。
我编写了 uwsgi ini 文件并使用 uwsgi --ini site.ini 对其进行了测试
一切正常。
但是当我尝试运行该网站时出现以下错误(来自日志文件):
*** Python threads support is disabled. You can enable it with --enable-threads$
Python main interpreter initialized at 0x1a297d0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 800360 bytes (781 KB) for 10 cores
*** Operational MODE: preforking ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x1a297d0 pid: 177$
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 17715)
spawned uWSGI worker 1 (pid: 17718, cores: 1)
spawned uWSGI worker 2 (pid: 17719, cores: 1)
spawned uWSGI worker 3 (pid: 17720, cores: 1)
spawned uWSGI worker 4 (pid: 17721, cores: 1)
spawned uWSGI worker 5 (pid: 17722, cores: 1)
spawned uWSGI worker 6 (pid: 17723, cores: 1)
spawned uWSGI worker 7 (pid: 17724, cores: 1)
spawned uWSGI worker 8 (pid: 17725, cores: 1)
spawned uWSGI worker 9 (pid: 17726, cores: 1)
SIGINT/SIGQUIT received...killing workers...
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
worker 7 buried after 1 seconds
worker 8 buried after 1 seconds
为什么我会自动获取 SIGINT?