这是对这个StackOverflow问题的重写。基本上,我有一个Azure web角色(还有一些负载均衡器和IIS 7.5),在某些情况下,用户会得到HTTP代码503,并且下面的错误消息呈现为HTML
Hello,
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other
problems preventing it from responding to requests.
You may wish to try again at a later
我们有一个使用PHP代码的50台前端服务器的应用程序,使总共15-25k HTTP可以通过nginx通过nginx使用guzzle库超时100 an。不时地(随机地,一天中有几次),我们看到在PHP前端服务器日志中,有500-10k的RPS失败,出现了curl超时错误。日志中的所有异常如下所示:
cURL error 28: Operation timed out after 100 milliseconds with 143 out of 143 bytes received。
最有趣的部分是,它总是接收到100% out of 100%字节,从来没有100 of 102或0 of 70。因