You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2003/04/25 21:18:07 UTC
cvs commit: httpd-2.0/docs/manual/faq error.html.en error.xml error.xml.meta all_in_one.html.en categories.xml index.html.en
slive 2003/04/25 12:18:07
Modified: docs/manual/faq all_in_one.html.en categories.xml
index.html.en
Added: docs/manual/faq error.html.en error.xml error.xml.meta
Log:
Add a question to the FAQ. (The first 2.0 FAQ!)
Revision Changes Path
1.4 +31 -0 httpd-2.0/docs/manual/faq/all_in_one.html.en
Index: all_in_one.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/faq/all_in_one.html.en,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -b -u -r1.3 -r1.4
--- all_in_one.html.en 17 Apr 2003 16:45:23 -0000 1.3
+++ all_in_one.html.en 25 Apr 2003 19:18:06 -0000 1.4
@@ -27,11 +27,13 @@
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#topics">Topics</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#support">Support</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#error">Error Messages</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a id="topics" name="topics">Topics</a></h2>
<dl><dt><a href="#support">Support</a></dt><dd>What do I do when I have problems?</dd>
+<dt><a href="#error">Error Messages</a></dt><dd>What does this error message mean?</dd>
</dl></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="support" id="support">Support</a></h2>
@@ -131,6 +133,35 @@
<p>Professional, commercial support for Apache is available from
<a href="http://www.apache.org/info/support.cgi">a number of
companies</a>.</p>
+
+</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="section">
+<h2><a name="error" id="error">Error Messages</a></h2>
+ <ul>
+ <li><a href="#error.sendfile">Invalid argument:
+ core_output_filter: writing data to the network</a></li>
+ </ul>
+
+ <h3><a name="error.sendfile" id="error.sendfile">Invalid argument:
+ core_output_filter: writing data to the network</a></h3>
+
+ <p>Apache uses the <code>sendfile</code> syscall on platforms
+ where it is available in order to speed sending of responses.
+ Unfortunately, on some systems, Apache will detect the presence of
+ <code>sendfile</code> at compile-time, even when it does not work
+ properly. This happens most frequently when using network or
+ other non-standard file-system.</p>
+
+ <p>Symptoms of this problem include the above message in the error
+ log and zero-length responses to non-zero-sized files. The
+ problem generally occurs only for static files, since dynamic
+ content usually does not make use of <code>sendfile</code>.</p>
+
+ <p>To fix this problem, simply use the <code class="directive"><a href="../mod/core.html#enablesendfile">EnableSendfile</a></code> directive to disable
+ <code>sendfile</code> for all or part of your server. Also see
+ the <code class="directive"><a href="../mod/core.html#enablemmap">EnableMMAP</a></code>, which can
+ help with similar problems.</p>
+
</div></div>
<div id="footer">
1.2 +1 -0 httpd-2.0/docs/manual/faq/categories.xml
Index: categories.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/faq/categories.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -u -r1.1 -r1.2
--- categories.xml 16 Apr 2003 22:39:34 -0000 1.1
+++ categories.xml 25 Apr 2003 19:18:06 -0000 1.2
@@ -2,4 +2,5 @@
<categories>
<categoryfile>support.xml</categoryfile>
+ <categoryfile>error.xml</categoryfile>
</categories>
1.2 +1 -0 httpd-2.0/docs/manual/faq/index.html.en
Index: index.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/faq/index.html.en,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -u -r1.1 -r1.2
--- index.html.en 16 Apr 2003 22:39:34 -0000 1.1
+++ index.html.en 25 Apr 2003 19:18:06 -0000 1.2
@@ -31,6 +31,7 @@
<div class="section">
<h2><a id="topics" name="topics">Topics</a></h2>
<dl><dt><a href="support.html">Support</a></dt><dd>What do I do when I have problems?</dd>
+<dt><a href="error.html">Error Messages</a></dt><dd>What does this error message mean?</dd>
</dl></div></div>
<div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
1.1 httpd-2.0/docs/manual/faq/error.html.en
Index: error.html.en
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>Error Messages - Frequently Asked Questions - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page" class="no-sidebar"><div id="page-header">
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
<p class="apache">Apache HTTP Server Version 2.1</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.1</a> > <a href="./">FAQ</a></div><div id="page-content"><div id="preamble"><h1>Error Messages - Frequently Asked Questions</h1></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="error" id="error">Error Messages</a></h2>
<ul>
<li><a href="#error.sendfile">Invalid argument:
core_output_filter: writing data to the network</a></li>
</ul>
<h3><a name="error.sendfile" id="error.sendfile">Invalid argument:
core_output_filter: writing data to the network</a></h3>
<p>Apache uses the <code>sendfile</code> syscall on platforms
where it is available in order to speed sending of responses.
Unfortunately, on some systems, Apache will detect the presence of
<code>sendfile</code> at compile-time, even when it does not work
properly. This happens most frequently when using network or
other non-standard file-system.</p>
<p>Symptoms of this problem include the above message in the error
log and zero-length responses to non-zero-sized files. The
problem generally occurs only for static files, since dynamic
content usually does not make use of <code>sendfile</code>.</p>
<p>To fix this problem, simply use the <code class="directive"><a href="../mod/core.html#enablesendfile">EnableSendfile</a></code> directive to disable
<code>sendfile</code> for all or part of your server. Also see
the <code class="directive"><a href="../mod/core.html#enablemmap">EnableMMAP</a></code>, which can
help with similar problems.</p>
</div></div>
<div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
</body></html>
1.1 httpd-2.0/docs/manual/faq/error.xml
Index: error.xml
===================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE faq SYSTEM "../style/faq.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<faq metafile="error.xml.meta">
<parentdocument href="./">FAQ</parentdocument>
<title>Error Messages - Frequently Asked Questions</title>
<description>What does this error message mean?</description>
<section id="error"><title>Error Messages</title>
<ul>
<li><a href="#error.sendfile">Invalid argument:
core_output_filter: writing data to the network</a></li>
</ul>
<section id="error.sendfile"><title>Invalid argument:
core_output_filter: writing data to the network</title>
<p>Apache uses the <code>sendfile</code> syscall on platforms
where it is available in order to speed sending of responses.
Unfortunately, on some systems, Apache will detect the presence of
<code>sendfile</code> at compile-time, even when it does not work
properly. This happens most frequently when using network or
other non-standard file-system.</p>
<p>Symptoms of this problem include the above message in the error
log and zero-length responses to non-zero-sized files. The
problem generally occurs only for static files, since dynamic
content usually does not make use of <code>sendfile</code>.</p>
<p>To fix this problem, simply use the <directive
module="core">EnableSendfile</directive> directive to disable
<code>sendfile</code> for all or part of your server. Also see
the <directive module="core">EnableMMAP</directive>, which can
help with similar problems.</p>
</section>
</section>
</faq>
1.1 httpd-2.0/docs/manual/faq/error.xml.meta
Index: error.xml.meta
===================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<metafile>
<basename>error</basename>
<path>/faq/</path>
<relpath>..</relpath>
<variants>
<variant>en</variant>
</variants>
</metafile>