मैं Gunicorn का उपयोग करता है और स्थानीय स्तर पर अच्छा चलाता है कि एक Django वेब अनुप्रयोग है, लेकिन जब मैं EC2 पर अनुप्रयोग को तैनात, मुझे लगता है कि Gunicorn विफल हो रहा है:गनकोर्न विफलता के मुद्दों को कैसे डिबग करें? (कार्यकर्ता बूट करने में विफल रहा है)
$ 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.
मैंने कोशिश की --spew
के साथ लॉग इन करना लेकिन यह चल रहा है और कोई त्रुटि दिखाई नहीं दे रही है।
मैं इस मुद्दे को कैसे डीबग कर सकता हूं?
--debug को बंदूक में 1 9 .0.0 में हटा दिया गया है। Http://gunicorn-docs.readthedocs.org/en/latest/news.html#id28 देखें। – alan
बहिष्कृत के लिए अद्यतन लिंक है: http://gunicorn-docs.readthedocs.io/en/latest/2014-news.html#id7 –