gunicorn not starting workers

前端 未结 3 2117
闹比i
闹比i 2021-02-09 06:22

When i run this command

[jenia@arch app]../bin/gunicorn zones.wsgi:application --bind localht:8000

The gunicorn server runs at localhost:8000.

相关标签:
3条回答
  • 2021-02-09 06:34

    I was able to fix this problem by reverting back to Gunicorn 18.0.0.

    pip uninstall gunicorn
    pip install gunicorn==18.0.0
    

    Not the ideal solution. Perhaps it's worth making a bug ticket about this problem. My concern is that I can't actually identify what the problem is...so how do I make a proper bug ticket? haha

    0 讨论(0)
  • 2021-02-09 06:44

    gunicorn doesn't return to the console by default now. Use the option --log-file=- to do it.

    Also the error should be fixed in https://github.com/benoitc/gunicorn/issues/785 .

    I will make a release tomorrow.

    0 讨论(0)
  • 2021-02-09 06:55

    You should use --log-file=- option

    For more information see: http://gunicorn-docs.readthedocs.org/en/latest/faq.html#why-i-don-t-see-any-logs-in-the-console

    0 讨论(0)
提交回复
热议问题