benoitc/gunicorn — pull request #518 by Jonty (2013-04-24 17:19:05+00:00)
Title: Attempt to get a stack trace from timed out workers before killing them

This changes the arbiter to send SIGUSR2 to the worker two seconds
before it sends SIGKILL, giving the new handle_usr2 handler time to
generate a clean stack trace of where the worker is blocked and log it.

Existing behaviour is maintained if the worker does not die, however the
log message has been changed to reflect that a stack trace was not
obtained.