0

I recently reconfigured my server to use Lighttpd+PHP5-FPM. I have almost the same configuration on my localhost (using CGI on Windows, while ubuntu on the server). I have an AJAX request to a page that usually takes around 1.5 minutes, on server I keep receiving "ERR_EMPTY_RESPONSE" while the same script (same arguments etc) gives the expected JSON response.

The php timeout is set, no error is given, on Lighty debug log I can see that after the expected time the response is given, but the browser stops after 1 minute, 30 seconds before the real response.

Any ideas?

4

1 回答 1

0

由于我使用的是 AWS 的 ELB,它的超时时间为 60 秒。我发现可以请求将超时更新为最多 17 分钟,但无法直接在管理器控制台上执行此操作。

来源:弹性负载均衡器:HTTP 连接在 60 秒后超时

于 2013-07-31T01:38:38.710 回答