Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 39199 invoked from network); 11 Feb 2009 17:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 17:11:53 -0000 Received: (qmail 19701 invoked by uid 500); 11 Feb 2009 17:11:52 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 19660 invoked by uid 500); 11 Feb 2009 17:11:52 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 19651 invoked by uid 99); 11 Feb 2009 17:11:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 09:11:52 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 17:11:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A3727238899B; Wed, 11 Feb 2009 17:11:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r743406 - in /httpd/httpd/branches/2.2.x/docs/manual: caching.xml caching.xml.fr mod/mod_file_cache.xml Date: Wed, 11 Feb 2009 17:11:27 -0000 To: cvs@httpd.apache.org From: lgentis@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090211171127.A3727238899B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lgentis Date: Wed Feb 11 17:11:26 2009 New Revision: 743406 URL: http://svn.apache.org/viewvc?rev=743406&view=rev Log: MMapStatic directive doesn't exist. Modified: httpd/httpd/branches/2.2.x/docs/manual/caching.xml httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml Modified: httpd/httpd/branches/2.2.x/docs/manual/caching.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/caching.xml?rev=743406&r1=743405&r2=743406&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/caching.xml (original) +++ httpd/httpd/branches/2.2.x/docs/manual/caching.xml Wed Feb 11 17:11:26 2009 @@ -65,7 +65,7 @@

As mod_file_cache presents a relatively simple caching implementation, apart from the specific sections on CacheFile and MMapStatic, the explanations + module="mod_file_cache">MMapFile, the explanations in this guide cover the mod_cache caching architecture.

@@ -90,9 +90,8 @@ CacheEnable CacheDisable - MMapStatic - CacheFile CacheFile + MMapFile UseCanonicalName CacheNegotiatedDocs @@ -475,7 +474,7 @@ CacheEnable CacheDisable - MMapStatic + MMapFile @@ -541,16 +540,16 @@ speed of in-memory caching, Apache's own memory caching is needed.

- MMapStatic Caching + MMapFile Caching

mod_file_cache provides the - MMapStatic directive, which + MMapFile directive, which allows you to have Apache map a static file's contents into memory at start time (using the mmap system call). Apache will use the in-memory contents for all subsequent accesses to this file.

-
MMapStatic /usr/local/apache2/htdocs/index.html
+
MMapFile /usr/local/apache2/htdocs/index.html

As with the @@ -558,7 +557,7 @@ changes in these files will not be picked up by Apache after it has started.

-

The MMapStatic +

The MMapFile directive does not keep track of how much memory it allocates, so you must ensure not to over-use the directive. Each Apache child process will replicate this memory, so it is critically important Modified: httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr?rev=743406&r1=743405&r2=743406&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr (original) +++ httpd/httpd/branches/2.2.x/docs/manual/caching.xml.fr Wed Feb 11 17:11:26 2009 @@ -77,7 +77,7 @@ implémentation de mise en cache relativement simple, mises à part les sections spécifiques sur les directives CacheFile et MMapStatic, les explications fournies + module="mod_file_cache">MMapFile, les explications fournies dans ce guide concernent l'architecture de mise en cache du module mod_cache.

@@ -104,9 +104,8 @@ CacheEnable CacheDisable - MMapStatic - CacheFile CacheFile + MMapFile UseCanonicalName CacheNegotiatedDocs @@ -536,7 +535,7 @@ CacheEnable CacheDisable - MMapStatic + MMapFile @@ -612,9 +611,9 @@ mémoire, la mise en cache propre à Apache sera nécessaire.

- Mise en cache à l'aide de la directive MMapStatic + Mise en cache à l'aide de la directive MMapFile -

La directive MMapStatic +

La directive MMapFile fournie par le module mod_file_cache vous permet de demander à Apache de charger un contenu de fichier statique en mémoire lors de son démarrage (à l'aide de l'appel système mmap). Apache @@ -622,7 +621,7 @@ toutes les demandes d'accès à ce fichier.

-
MMapStatic /usr/local/apache2/htdocs/index.html
+
MMapFile /usr/local/apache2/htdocs/index.html

Comme dans le cas de la directive @@ -631,7 +630,7 @@ ce dernier démarré.

La directive - MMapStatic ne gardant + MMapFile ne gardant pas la trace de la quantité de mémoire qu'elle alloue, vous devez prendre garde de ne pas en abuser. Chaque processus enfant d'Apache utilisant sa propre réplique de la mémoire allouée, il est donc d'une importance Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml?rev=743406&r1=743405&r2=743406&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml (original) +++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_file_cache.xml Wed Feb 11 17:11:26 2009 @@ -63,10 +63,7 @@ >MMapFile or CacheFile directives in the main server configuration.

-

Not all platforms support both directives. For example, Apache - on Windows does not currently support the MMapStatic directive, while - other platforms, like AIX, support both. You will receive an error +

Not all platforms support both directives. You will receive an error message in the server error log if you attempt to use an unsupported directive. If given an unsupported directive, the server will start but the file will not be cached. On platforms @@ -179,7 +176,7 @@ places these handles into the cache at server startup time. Handles to cached files are automatically closed on a server shutdown. When the files have changed on the filesystem, the - server should be restarted to to re-cache them.

+ server should be restarted to re-cache them.

Be careful with the file-path arguments: They have to literally match the filesystem path Apache's URL-to-filename