]> granicus.if.org Git - apache/commitdiff
Add a question to the FAQ. (The first 2.0 FAQ!)
authorJoshua Slive <slive@apache.org>
Fri, 25 Apr 2003 19:18:06 +0000 (19:18 +0000)
committerJoshua Slive <slive@apache.org>
Fri, 25 Apr 2003 19:18:06 +0000 (19:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99603 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/faq/all_in_one.html.en
docs/manual/faq/categories.xml
docs/manual/faq/error.html.en [new file with mode: 0644]
docs/manual/faq/error.xml [new file with mode: 0644]
docs/manual/faq/error.xml.meta [new file with mode: 0644]
docs/manual/faq/index.html.en

index 1270b505344400d9cfa1671547da22e1d8f137f7..e805d2a5048a3ab14977af1a2d87a9624d8f60c0 100644 (file)
 </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>
       <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">
 <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
index 7feb6b717b85ec78db4f979bd034be617cb67a0e..895a5b894832764f015da127a5774d77ed9cb9fc 100644 (file)
@@ -2,4 +2,5 @@
 
 <categories>
   <categoryfile>support.xml</categoryfile>
+  <categoryfile>error.xml</categoryfile>
 </categories>
diff --git a/docs/manual/faq/error.html.en b/docs/manual/faq/error.html.en
new file mode 100644 (file)
index 0000000..fff4e35
--- /dev/null
@@ -0,0 +1,53 @@
+<?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="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
+<div id="path">
+<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs-project/">Documentation</a> &gt; <a href="../">Version 2.1</a> &gt; <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>
\ No newline at end of file
diff --git a/docs/manual/faq/error.xml b/docs/manual/faq/error.xml
new file mode 100644 (file)
index 0000000..67518c5
--- /dev/null
@@ -0,0 +1,44 @@
+<?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>
+
diff --git a/docs/manual/faq/error.xml.meta b/docs/manual/faq/error.xml.meta
new file mode 100644 (file)
index 0000000..c36c1aa
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<metafile>
+  <basename>error</basename>
+  <path>/faq/</path>
+  <relpath>..</relpath>
+
+  <variants>
+    <variant>en</variant>
+  </variants>
+</metafile>
index 4c0f3695ff8e77cafc8bc253d261c3e8976936b2..605ed244149b891c1e7bfb598e41b31281d3adf5 100644 (file)
@@ -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>