`
eimhee
  • 浏览: 2150937 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

修复apache2 (70014)End of file found错误

阅读更多

今天看到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的原因,

<code>AddHandler fcgid-script .fcgi  
FcgidConnectTimeout 20  
MaxRequestLen 15728640</code> 

 vi /etc/apache2/mods-available/fcgid.conf

把改成, 运行一段时间这样的日志就少了很多了

FcgidConnectTimeout 60 
分享到:
评论

相关推荐

    apache.zip

    res.end('File Not Found'); return; } // 读取并返回文件内容 const fileContent = await fs.readFile(filePath); res.statusCode = 200; res.setHeader('Content-Type', 'text/html'); res.end...

    tomcat启动报错:java.util.zip.ZipException的解决方法

    在使用Apache Tomcat服务器时,有时会遇到启动异常的情况,其中一种常见的错误是`java.util.zip.ZipException`。这个异常通常表明在处理ZIP或JAR文件时遇到了问题,可能是因为文件损坏、格式不正确或者无法打开。在...

    unigui0.83.5.820

    - 0000558: Customizable End of Session - 0000748: Field property for DB aware controls - 0000747: AV when trying to access the property TUniDBEdit.Field - 0000746: SessionManager: Bug when there is...

    带注释的Bootstrap.java

    * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License ...

    javacv-platform-1.3.3-src

    Navigate to File &gt; Project Structure &gt; app &gt; Dependencies, click +, and select "2 File dependency". Select all the JAR files from the libs subdirectory. After that, the wrapper classes for OpenCV and ...

    php.ini-development

    The syntax of the file is extremely simple. Whitespace and lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored,...

    Ibatis调用Oracle存储过程返回自定义类型

    EXIT WHEN CUR_WEALTH_DEAL_DETAIL%NOTFOUND; P_ARR_OUT.EXTEND; P_ARR_OUT(V_IDX) := ARR_OBJECT(V_WEALTH_DEAL_DETAIL.TRADE_NO, V_WEALTH_DEAL_DETAIL.DEAL_TYPE, V_WEALTH_DEAL_DETAIL.TURNOVER); V_IDX := ...

    HttpServer 使用例子

    res.end('File not found'); } else { res.statusCode = 200; res.setHeader('Content-Type', 'text/html'); res.end(data); } }); } }); ``` 以上代码示例展示了如何根据URL路径区分API请求和静态文件请求...

    Java中用Socket实现HTTP文件上传实例

    // End of headers, start reading file content byte[] fileBytes = readUntilDelimiter(reader, "--" + boundary); // Process fileBytes } } // Helper method to read bytes until the delimiter is found ...

    开发PHP扩展详细教程

    /****End of Self control section***/ #ifdef ZTS #define ICBC_G(v) TSRMG(icbc_globals_id, zend_icbc_globals *, v) #else #define ICBC_G(v) (icbc_globals.v) #endif #endif /* PHP_ICBC_H */ 涉及...

    asp经典程序代码

    2. **服务器配置**:根据使用的Web服务器类型(如IIS、Apache等),配置虚拟主机支持多个域名。 3. **URL重定向**:如果需要,可以在服务器端通过URL重定向的方式,将不同的域名指向相同的网站内容。 #### 六、读取...

Global site tag (gtag.js) - Google Analytics