【发布时间】:2013-12-02 14:50:00
【问题描述】:
我的 Apache 服务器上的 var/www 目录下有一些 php 文件。当我重新启动服务器时,我可以访问它们大约 5 分钟,然后它们不再可用。页面尝试加载但没有任何反应(某种无限加载),我必须再次重新启动服务器。
编辑: 这里要求的是日志:
[Mon Dec 02 16:13:40 2013] [notice] Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.6 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[Mon Dec 02 16:16:30 2013] [notice] child pid 1387 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:31 2013] [notice] child pid 1388 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:31 2013] [notice] child pid 1389 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:32 2013] [notice] child pid 1390 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:32 2013] [notice] child pid 1391 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:32 2013] [notice] child pid 1392 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:32 2013] [notice] child pid 1393 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:34 2013] [notice] child pid 1394 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:34 2013] [notice] child pid 1395 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:34 2013] [notice] child pid 1396 exit signal Segmentation fault (11)
[Mon Dec 02 16:16:34 2013] [notice] child pid 1397 exit signal Segmentation fault (11)
...
这是无限的
【问题讨论】:
-
听起来像一些缓存问题。尝试记录这些操作,看看服务器重启 5 分钟后会发生什么。
-
你检查过日志吗?
-
感谢 cmets,我已将日志添加到问题中
-
试试这个以获得更多关于你的错误的信息stackoverflow.com/questions/7745578/…
-
Apache 崩溃了。请检查崩溃生成的内核的确切原因。您可以使用命令“ulimit -c unlimited”从 bash shell 启用核心生成。
标签: apache