作者 主題: shtml页面显示不正常的问题  (閱讀 1845 次)

0 會員 與 1 訪客 正在閱讀本文。

yahoon

  • 可愛的小學生
  • *
  • 文章數: 3
    • 檢視個人資料
shtml页面显示不正常的问题
« 於: 2009-04-15 17:06 »
系统是Red Hat Enterprise Linux AS + Apache 2.0.63
出问题的站点是 www.test.com  (涉及到商业问题,以test代替真实域名)
这个站点是shtml的
每个shtml页面里面,都使用include语句来引用了一些html页面

<!--#include file="include/bottom.html"-->

现在apache运行一段时间之后整个页面有部分会不能显示,不能显示的部分在页面上报错如下
an error occurred while processing this directive]
刷新的时候有时能正常显示,有时又不行

在apache的日志里面提示
代碼: [選擇]
[Mon Apr 13 23:20:27 2009] [error] [client 202.104.148.3] File does not exist: /var/www/html/web/test/favicon.ico
[Mon Apr 13 23:43:38 2009] [error] [client 65.55.217.58] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 00:35:07 2009] [error] [client 65.55.37.192] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 00:50:09 2009] [error] [client 208.111.154.15] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 01:54:16 2009] [error] [client 65.55.104.10] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 01:56:44 2009] [error] [client 220.181.61.215] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 02:00:22 2009] [error] [client 65.55.217.61] File does not exist: /var/www/html/web/test/robots.txt
[Tue Apr 14 02:04:04 2009] [error] [client 59.175.86.148] (24)Too many open files: file permissions deny server access: /var/
www/html/web/test/include/bestsolution.html, referer: http://www.test.com/
[Tue Apr 14 02:04:04 2009] [error] [client 59.175.86.148] unable to include "include/bestsolution.html" in parsed file /var/w
ww/html/web/test/what-we-do.shtml, referer: http://www.test.com/
[Tue Apr 14 02:04:04 2009] [error] [client 59.175.86.148] (24)Too many open files: file permissions deny server access: /var/
www/html/web/test/include/bottom.html, referer: http://www.test.com/
[Tue Apr 14 02:04:04 2009] [error] [client 59.175.86.148] unable to include "include/bottom.html" in parsed file /var/www/htm
l/web/test/what-we-do.shtml, referer: http://www.test.com/
[Tue Apr 14 02:04:10 2009] [error] [client 59.175.86.148] (24)Too many open files: file permissions deny server access: /var/
www/html/web/test/include/how-we-do.html, referer: http://www.test.com/what-we-do.shtml
[Tue Apr 14 02:04:10 2009] [error] [client 59.175.86.148] unable to include "include/how-we-do.html" in parsed file /var/www/
html/web/test/how-we-do.shtml, referer: http://www.test.com/what-we-do.shtml
[Tue Apr 14 02:04:10 2009] [error] [client 59.175.86.148] (24)Too many open files: file permissions deny server access: /var/
www/html/web/test/include/bestsolution.html, referer: http://www.test.com/what-we-do.shtml
[Tue Apr 14 02:04:10 2009] [error] [client 59.175.86.148] unable to include "include/bestsolution.html" in parsed file /var/w
ww/html/web/test/how-we-do.shtml, referer: http://www.test.com/what-we-do.shtml
重启apache能顶个一两天 就出现这个问题

已经通过修改/etc/security/limits.conf设置了
* soft nofile 65536
* hard nofile 65536
执行ulimit -a 显示
open files                      (-n) 65536
重启apache之后,过个几天还是有这样的问题

请教高人如何解决
« 上次編輯: 2009-04-15 17:09 由 yahoon »