gpt4 book ai didi

Apache2 和 mod_wsgi : Truncated or oversized response headers received from daemon process

转载 作者:行者123 更新时间:2023-12-03 15:55:45 25 4
gpt4 key购买 nike

我的应用程序正在使用 mod_wsgi、Flask 和 Python 2.7 的 Apache 2 服务器运行。奇怪的是,当页面刷新时,应用程序崩溃了。对我来说,这恰好发生在每次刷新时。你可以看到here .此外,在 Chrome 中,如果我打开网络检查器工具,程序不会崩溃。

在日志中,我看到:

[Tue Apr 14 13:45:29.137444 2015] [wsgi:error] [pid 32713] [client 146.203.54.32:58816] Truncated or oversized response headers received from daemon process 'localhost:80': /etc/g2e/htdocs/g2e
[Tue Apr 14 13:45:29.671493 2015] [core:notice] [pid 28845] AH00052: child pid 640 exit signal Segmentation fault (11)
[Tue Apr 14 13:45:29.671520 2015] [wsgi:info] [pid 28845] mod_wsgi (pid=640): Process 'localhost:80' has died, deregister and restart it.
[Tue Apr 14 13:45:29.671524 2015] [wsgi:info] [pid 28845] mod_wsgi (pid=640): Process 'localhost:80' terminated by signal 11
[Tue Apr 14 13:45:29.671527 2015] [wsgi:info] [pid 28845] mod_wsgi (pid=640): Process 'localhost:80' has been deregistered and will no longer be monitored.
...

FWIW,我正在使用
Linux 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux

任何帮助表示赞赏。

最佳答案

我可能有一个调整。我有这个问题,但现在它以某种方式工作。

  • 我试图运行 mod_wsgi作为守护进程。我的应用程序没有工作,我在日志中有此错误消息。
  • 但是正在运行 mod_wsgi例如,当非守护进程工作时
    python manage.py runmodwsgi --reload-on-changes # for Django

    所以我再次启动它然后杀死它。
  • 我的应用程序仍在运行:)

  • (mod_wsgi 4.4.[1-13], apache2, python 2.7, Django 1.7, Debian8 全新安装,带或不带 virtualenv)

    关于Apache2 和 mod_wsgi : Truncated or oversized response headers received from daemon process,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29635399/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com