Closed robertknight closed 2 months ago
To help debug cases where a worker process "hangs", add a SIGCONT signal handler which dumps both the native and greenlet threads.
Testing:
make dev
ps aux | grep uwsgi
kill -s SIGCONT $PID
This will cause native and greenlet stack traces to be dumped to the worker's stderr.
To help debug cases where a worker process "hangs", add a SIGCONT signal handler which dumps both the native and greenlet threads.
Testing:
make dev
ps aux | grep uwsgi
kill -s SIGCONT $PID
This will cause native and greenlet stack traces to be dumped to the worker's stderr.