]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1657854, r1657856 from trunk:
authorEric Covener <covener@apache.org>
Fri, 6 Feb 2015 15:14:57 +0000 (15:14 +0000)
committerEric Covener <covener@apache.org>
Fri, 6 Feb 2015 15:14:57 +0000 (15:14 +0000)
PR57094: Provide some hints about Windows problems
with more than a few dozen piped loggers.

Submitted by: Edward Lu

add a generic tuning section and linked to the piped logger
issue in logs.html

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1657859 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/logs.xml
docs/manual/platform/windows.xml

index 8d438e3e4366a2e35e1cefbddd85239a841cca59..3cf9aede0578c7750216567234e3124d9a3152d4 100644 (file)
     for the access log, the same technique can be used for the
     error log.</p>
 
-    <p>A similar but much more flexible log rotation program
-    called <a href="http://www.cronolog.org/">cronolog</a>
-    is available at an external site.</p>
-
     <p>As with conditional logging, piped logs are a very powerful
     tool, but they should not be used where a simpler solution like
     off-line post-processing is available.</p>
       CustomLog "||/usr/local/apache/bin/rotatelogs
       /var/log/access_log 86400" common
     </example>
+
+    <note><title>Windows note</title>
+    <p>Note that on Windows, you may run into problems when running many piped
+    logger processes, especially when HTTPD is running as a service. This is
+    caused by running out of desktop heap space. The desktop heap space given
+    to each service is specified by the third argument to the
+    <code>SharedSection</code> parameter in the
+    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\SubSystems\Windows
+    registry value. <strong>Change this value with care</strong>; the normal
+    caveats for changing the Windows registry apply, but you might also exhaust
+    the desktop heap pool if the number is adjusted too high.</p>
+    </note>
   </section>
 
   <section id="virtualhost">
index c38550b7e0b76c094d05ec2d83ce6f0417b59a28..e09eb16d68e2e03110fdaaa53bb0bc20c382a052 100644 (file)
   above.</p>
   </section>
 
+  <section id="tuning">
+    <title>Windows Tuning</title>
+    <ul>
+      <li><p>If more than a few dozen piped loggers are used on an operating system 
+      instance is necesar, scaling up the "desktop heap" is often necessary. For
+      more detailed information, refer to the <a href="../logs.html#piped"
+      >piped logging</a> documntation.</p></li>
+    </ul>
+  </section>
 </manualpage>