doujiepin5547 2014-03-19 02:35
浏览 28

cloudControl - 超时和fastcgi错误

During the past days, we almost always encountered timeouts on our PHP-application while the cloudControl error logfile displayed

Error [error] [client ...] FastCGI: incomplete headers (0 bytes) received from server "/app/php/box/php-fpm"
Error [error] [client ...] FastCGI: comm with server "/app/php/box/php-fpm" aborted: idle timeout (120 sec)

Will there be an issue with the standard memory limit settings and if so, what would be the best way to fix it? Thanks in advance.

  • 写回答

1条回答 默认 最新

  • donglu7286 2014-03-19 10:31
    关注

    the error which you are observing in the log often comes from a too long running php process. The runtime is restricted to 120 seconds. In most of the cases, if your application 'suddenly' starts to print out these messages, it hast something to do with external services (database, web services, ...), which are answering slower than expected. If this is the case, it is a good practice to configure timeouts (socket) and handle the error case, to prevent your application being affected by other services.

    I hope it helps.

    评论

报告相同问题?

悬赏问题

  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?