Dump Django stack trace on Gunicorn timeout
Try setting your Gunicorn log to be more verbose, maybe set it to INFO
or DEBUG
that might shed more light in the log.
You could also take a look at Dog Slow, which will log slow requests. https://pypi.python.org/pypi/dogslow.
And for general logging win, try using Sentry: https://www.getsentry.com/welcome/.
Random question, any crons on the server running at that time, backups, that sorta thing?