httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject 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 footer.html header.html
Date Fri, 25 Apr 2003 19:35:24 GMT
slive       2003/04/25 12:35:24

  Modified:    docs/manual/faq Tag: APACHE_2_0_BRANCH all_in_one.html.en
                        categories.xml index.html.en
  Added:       docs/manual/faq Tag: APACHE_2_0_BRANCH error.html.en
                        error.xml error.xml.meta
  Removed:     docs/manual/faq Tag: APACHE_2_0_BRANCH footer.html
                        header.html
  Log:
  Backport new FAQ question on EnableSendfile.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.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.2.2.3
  retrieving revision 1.2.2.4
  diff -u -d -b -u -r1.2.2.3 -r1.2.2.4
  --- all_in_one.html.en	18 Apr 2003 02:02:50 -0000	1.2.2.3
  +++ all_in_one.html.en	25 Apr 2003 19:35:24 -0000	1.2.2.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.1.2.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.2.1
  retrieving revision 1.1.2.2
  diff -u -d -b -u -r1.1.2.1 -r1.1.2.2
  --- categories.xml	16 Apr 2003 23:44:28 -0000	1.1.2.1
  +++ categories.xml	25 Apr 2003 19:35:24 -0000	1.1.2.2
  @@ -2,4 +2,5 @@
   
   <categories>
     <categoryfile>support.xml</categoryfile>
  +  <categoryfile>error.xml</categoryfile>
   </categories>
  
  
  
  1.1.2.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.2.1
  retrieving revision 1.1.2.2
  diff -u -d -b -u -r1.1.2.1 -r1.1.2.2
  --- index.html.en	16 Apr 2003 23:44:28 -0000	1.1.2.1
  +++ index.html.en	25 Apr 2003 19:35:24 -0000	1.1.2.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>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +2 -2      httpd-2.0/docs/manual/faq/error.html.en
  
  Index: error.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/faq/error.html.en,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -d -b -u -r1.1 -r1.1.2.1
  --- error.html.en	25 Apr 2003 19:18:06 -0000	1.1
  +++ error.html.en	25 Apr 2003 19:35:24 -0000	1.1.2.1
  @@ -12,11 +12,11 @@
   <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>
  +<p class="apache">Apache HTTP Server Version 2.0</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>
  +<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.0</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>
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/faq/error.xml
  
  Index: error.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/faq/error.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -d -b -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/faq/error.xml.meta
  
  Index: error.xml.meta
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/faq/error.xml.meta,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -d -b -u -r1.1 -r1.1.2.1
  
  
  

Mime
View raw message