Hi, I have nginx+uwsgi+django configured on my linux servers.
Sometimes when I restart/start my servers the processes get stuck. It comes back after a few restarts. My uwsgi log shows- uwsgi socket 0 bound to UNIX address /tmp/uwsgi_watchman.sock fd 3 Python version: 2.7.5 (default, Mar 28 2014, 00:06:17) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] Set PythonHome to /usr/lib/pyve/ Python main interpreter initialized at 0xb46210 python threads support enabled your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 5 seconds mapped 2384624 bytes (2328 KB) for 150 cores *** Operational MODE: preforking+threaded *** added /watchman/watchman/deploy/ to pythonpath. WSGI app 0 (mountpoint='') ready in 6 seconds on interpreter 0xb46210 pid: 6787 (default app) *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 6787) spawned uWSGI worker 1 (pid: 6789, cores: 15) spawned uWSGI worker 2 (pid: 6790, cores: 15) spawned uWSGI worker 3 (pid: 6792, cores: 15) spawned uWSGI worker 4 (pid: 6801, cores: 15) spawned uWSGI worker 5 (pid: 6814, cores: 15) chmod() socket to 666 for lazy and brave users python tracebacker for worker 1 available on /tmp/tbsocket1 spawned uWSGI worker 6 (pid: 6824, cores: 15) spawned uWSGI worker 7 (pid: 6825, cores: 15) spawned uWSGI worker 8 (pid: 6841, cores: 15) spawned uWSGI worker 9 (pid: 6872, cores: 15) spawned uWSGI worker 10 (pid: 6873, cores: 15) chmod() socket to 666 for lazy and brave users python tracebacker for worker 6 available on /tmp/tbsocket6 chmod() socket to 666 for lazy and brave users python tracebacker for worker 2 available on /tmp/tbsocket2 chmod() socket to 666 for lazy and brave users python tracebacker for worker 7 available on /tmp/tbsocket7 chmod() socket to 666 for lazy and brave users python tracebacker for worker 8 available on /tmp/tbsocket8 chmod() socket to 666 for lazy and brave users python tracebacker for worker 4 available on /tmp/tbsocket4 chmod() socket to 666 for lazy and brave users python tracebacker for worker 5 available on /tmp/tbsocket5 chmod() socket to 666 for lazy and brave users python tracebacker for worker 9 available on /tmp/tbsocket9 chmod() socket to 666 for lazy and brave users python tracebacker for worker 10 available on /tmp/tbsocket10 chmod() socket to 666 for lazy and brave users python tracebacker for worker 3 available on /tmp/tbsocket3 Connecting and reading traceback sockets gives a blank. I am using upstart to launch uwsgi. The init script is- start on runlevel [2345] stop on runlevel [!2345] respawn exec /usr/bin/uwsgi --touch-reload /watchman/watchman/hero --py-tracebacker /tmp/tbsocket --enable-threads --master --processes 10 --threads 15 --logto /var/log/uwsgi.log --home /watchman/watchman/ --socket /tmp/uwsgi_watchman.sock --chmod-socket --module watchman_wsgi --pythonpath /watchman/watchman/deploy -H /usr/lib/pyve/ --max-requests=500 --harakiri 300 --harakiri-verbose --reload-on-as 2048 --worker-reload-mercy 5 Please help. Regards, Shitiz -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFbrKxqY3sC1XHz1g8tuaOAf_9qp-msb1LfXPZM1hys9jO3_4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

