Django and uwsgi and nginx is log error

79 views
Skip to first unread message

Hella Nick

unread,
May 8, 2020, 11:44:31 PM5/8/20
to Django users
我的uwsig日志显示:
                       
           
clock source: unix
detected number of CPU cores: 2
current working directory: /project/work/teacher
writing pidfile to /project/work/teacher/uwsgi.pid
detected binary path: /project/env/online/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
chdir() to /project/work/teacher/
your processes number limit is 14502
your memory page size is 4096 bytes
detected max file descriptor number: 65535
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 127.0.0.1:8042 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.7.1 (default, Apr 25 2020, 16:19:43)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x11e7950
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 656136 bytes (640 KB) for 8 cores
*** Operational MODE: preforking ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x11e7950 pid: 17018 (default app)
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 17018)
spawned uWSGI worker 1 (pid: 17022, cores: 1)
spawned uWSGI worker 2 (pid: 17023, cores: 1)
spawned uWSGI worker 3 (pid: 17024, cores: 1)
spawned uWSGI worker 4 (pid: 17025, cores: 1)
spawned uWSGI worker 5 (pid: 17026, cores: 1)
spawned uWSGI worker 6 (pid: 17027, cores: 1)
spawned uWSGI worker 7 (pid: 17028, cores: 1)
spawned uWSGI worker 8 (pid: 17029, cores: 1)

我想知道 your server socket listen backlog is limited to 100 connections 这个错误怎么解决掉?

Could someone help me out?


Reply all
Reply to author
Forward
0 new messages