dsyrdwdbo47282676 2013-11-22 13:33
浏览 157
已采纳

运行脚本30秒后,我收到500内部服务器错误

The production server has CentOS 6.4 with Plesk 11.0.9. It is a dedicated server.

Server configuration:
* max_execution_time is set to 500 from Plesk and it shows up correctly in phpinfo

Problems:
* I get 500 Internal Server Error after 30 seconds of running any script

Is there any way I get a workaround this problem?

LE:
* the script I want to do this downloads from a remote location a file to user's browser. It might require even hours to complete the operation (for very slow internet connection clients). I really need this. And one more thing, the user must not see the source url.

  • 写回答

1条回答 默认 最新

  • douyuan1752 2013-11-22 15:04
    关注

    I think you run Fast CGI. The CGI process has a maximum execution time. In fastcgi its the idle-timeout. After that you get an 500 Error because the backend is not responding in that time.

    I don't know which module you use. But normally you can set the idle-timeout in your configuration.

    mod_fastcgi idle timeout not work

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

报告相同问题?

悬赏问题

  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭