doumi6685 2013-07-30 12:28
浏览 106
已采纳

PHP-FPM浏览器返回空响应

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?

  • 写回答

1条回答 默认 最新

  • dongsi5381 2013-07-31 01:38
    关注

    Since I'm using ELB from AWS, it has a timeout of 60 seconds. I found out that it can be requested to update the timeout to up to 17 minutes, but there is no way to do that directly on manager console.

    Source: Elastic Load Balancer: HTTP Connections time out after 60 seconds.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?