From: Eric Covener Date: Fri, 6 Feb 2015 15:13:05 +0000 (+0000) Subject: Merge r1657854, r1657856 from trunk: X-Git-Tag: 2.4.13~443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efc7c45c15bbcb09decc6ec62e4a3a04bfa94e48;p=apache Merge r1657854, r1657856 from trunk: 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.4.x@1657858 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/logs.xml b/docs/manual/logs.xml index be03279aab..da135778b3 100644 --- a/docs/manual/logs.xml +++ b/docs/manual/logs.xml @@ -594,10 +594,6 @@ LogFormat "%!200,304,302{Referer}i" refererlog for the access log, the same technique can be used for the error log.

-

A similar but much more flexible log rotation program - called cronolog - is available at an external site.

-

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.

@@ -618,6 +614,18 @@ CustomLog "|$/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" commo For compatibility reasons with Apache 2.2 the notation "||" is also supported and equivalent to using "|".

+ + Windows note +

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 + SharedSection parameter in the + HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\SubSystems\Windows + registry value. Change this value with care; 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.

+
diff --git a/docs/manual/platform/windows.xml b/docs/manual/platform/windows.xml index 9e2de1b562..352465f6a0 100644 --- a/docs/manual/platform/windows.xml +++ b/docs/manual/platform/windows.xml @@ -628,4 +628,13 @@ Alias /images/ //imagehost/www/images/ above.

+
+ Windows Tuning + +