HAProxy random HTTP 503 errors

前端 未结 6 1090

We\'ve setup 3 servers:

  • Server A with Nginx + HAproxy to perform load balancing
  • backend server B
  • backend server C

Here is our

6条回答
  •  攒了一身酷
    2020-12-29 08:59

    I resolved my intermittent 503s with HAProxy by adding option http-server-close to backend. Looks like uWSGI (which is upstream) is not doing well with keep-alive. Not sure what's really behind the problem, but after adding this option, haven't seen single 503 since.

提交回复
热议问题