今天看到apache2 的error.log 日志,
发现有很多这样的错误,
写道
[Mon Dec 31 14:18:16 2012] [warn] [client 46.37.165.141] (70014)End of file found: mod_fcgid: can't get data from http client
[Mon Dec 31 14:20:17 2012] [warn] [client 46.37.165.141] (70014)End of file found: mod_fcgid: can't get data from http client
[Mon Dec 31 14:20:25 2012] [warn] [client 46.37.165.141] (70014)End of file found: mod_fcgid: can't get data from http client
[Mon Dec 31 14:20:31 2012] [warn] [client 46.37.165.141] (70014)End of file found: mod_fcgid: can't get data from http client
[Mon Dec 31 14:20:39 2012] [warn] [client 46.37.165.141] (70014)End of file found: mod_fcgid: can't get data from http client
[Mon Dec 31 14:21:10 2012] [notice] caught SIGTERM, shutting down
[Mon Dec 31 14:21:11 2012] [notice] Apache/2.2.22 (Ubuntu) mod_fcgid/2.3.7 configured -- resuming normal operations
在网上找不到解决办法,
最好发现是timeout的原因,
Java代码:
AddHandler fcgid-script .fcgi
- FcgidConnectTimeout 20
- MaxRequestLen 15728640
vi /etc/apache2/mods-available/fcgid.conf
把改成, 运行一段时间这样的日志就少了很多了
Java代码:
- FcgidConnectTimeout 60
- 原文来自站长网
阅读(1390) | 评论(0) | 转发(0) |