How do I prevent a Gateway Timeout with FastCGI on Nginx

后端 未结 5 459
旧时难觅i
旧时难觅i 2020-11-27 09:04

I am running Django, FastCGI, and Nginx. I am creating an api of sorts that where someone can send some data via XML which I will process and then return some status codes

5条回答
  •  情书的邮戳
    2020-11-27 09:48

    If you use unicorn.

    Look at top on your server. Unicorn likely is using 100% of CPU right now. There are several reasons of this problem.

    • You should check your HTTP requests, some of their can be very hard.

    • Check unicorn's version. May be you've updated it recently, and something was broken.

提交回复
热议问题