dongmou3615 2013-09-24 12:38
浏览 42

渲染symfony 1.4模板时服务器断开连接

I'm trying to track down an intermittent problem. On certain actions/pages the user ends up with a server dropped connection error and reloading the page produces the same problem.

I've checked the logs and Symfony goes all the way to sending the content of the page but nothing is actually sent by the server. This only happens on specific pages that happen to be using Zend OAuth.

I've tried increasing the output_buffering in php.ini and increasing the memory_limit neither of which made a difference.

It only happens where Zend Framework 1.12 components are being used and doesn't happen all the time. If I restart apache the error goes away for a while. There are occasional zend_mm_heap error which seems to coincide with the behaviour starting.

The setup is: Symfony 1.4 Apache 1.2.22 APC 1.3.17 PHP 5.4-precise

I'm stumped and open to suggestions to possible causes.

  • 写回答

1条回答 默认 最新

  • dousi2013 2013-11-06 16:59
    关注

    After much head banging and otherwise general confusion, it seems the bug was related to a combination of PHP5.4, Apache2.2, Zend Framework 1.12 and Symfony 1.4

    Due to other circumstances Apache was upgraded to 2.4 and PHP to 5.5. and now the problem is no longer occurring.

    Morale of the story is that sometimes the upgrade fixes it.

    评论

报告相同问题?

悬赏问题

  • ¥15 ogg dd trandata 报错
  • ¥15 高缺失率数据如何选择填充方式
  • ¥50 potsgresql15备份问题
  • ¥15 Mac系统vs code使用phpstudy如何配置debug来调试php
  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?
  • ¥15 拟通过pc下指令到安卓系统,如果追求响应速度,尽可能无延迟,是不是用安卓模拟器会优于实体的安卓手机?如果是,可以快多少毫秒?
  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错