title: How to debug gunicorn failure issues? (Worker failed to boot)
body: <p>I have a Django web application that uses Gunicorn and runs good locally, but when I deploy app on EC2, I see that Gunicorn is failing:</p>
  
  <pre><code> $ gunicorn_django -b 127.0.0.1:8000 --settings=myapp.settings.dev --debug --log-level info
   2012-09-16 17:39:24 [28333] [INFO] Starting gunicorn 0.14.6
   2012-09-16 17:39:24 [28333] [INFO] Listening at: http://127.0.0.1:8000 (28333)
   2012-09-16 17:39:24 [28333] [INFO] Using worker: sync
   2012-09-16 17:39:24 [28336] [INFO] Booting worker with pid: 28336
   2012-09-16 17:39:24 [28336] [INFO] Worker exiting (pid: 28336)
   2012-09-16 17:39:24 [28333] [INFO] Shutting down: Master
   2012-09-16 17:39:24 [28333] [INFO] Reason: Worker failed to boot.
  </code></pre>
  
  <p>I tried logging with <code>--spew</code> but it keeps on running and no error is shown.</p>
  
  <p>How can I debug this issue?</p>