我试图用uwsi来使用nginx。
我写了uwsgi ini文件,并用uwsgi –ini site.ini进行testing
一切工作正常。
但是,当我尝试运行该网站时,我得到了以下错误(从日志文件):
*** 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?