]> granicus.if.org Git - apache/commitdiff
Update transformations.
authorGraham Leggett <minfrin@apache.org>
Wed, 29 Sep 2010 21:36:17 +0000 (21:36 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 29 Sep 2010 21:36:17 +0000 (21:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002855 13f79535-47bb-0310-9956-ffa450edef68

docs/man/htcacheclean.8
docs/manual/bind.xml.meta
docs/manual/caching.xml.meta
docs/manual/howto/htaccess.xml.ja
docs/manual/howto/htaccess.xml.ko
docs/manual/howto/htaccess.xml.pt-br
docs/manual/mod/core.xml.de
docs/manual/mod/core.xml.ja
docs/manual/mod/core.xml.tr
docs/manual/mod/mod_slotmem_shm.html.en
docs/manual/programs/htcacheclean.html.en

index 66b237b0bf1aabda4dfd995ce3b8666592c4ad31..14b37db888113f4fa12b962165759a88bc0bd0d2 100644 (file)
@@ -19,7 +19,7 @@
 .el .ne 3
 .IP "\\$1" \\$2
 ..
-.TH "HTCACHECLEAN" 8 "2010-03-29" "Apache HTTP Server" "htcacheclean"
+.TH "HTCACHECLEAN" 8 "2010-09-29" "Apache HTTP Server" "htcacheclean"
 
 .SH NAME
 htcacheclean \- Clean up the disk cache
@@ -27,13 +27,13 @@ htcacheclean \- Clean up the disk cache
 .SH "SYNOPSIS"
  
 .PP
-\fBhtcacheclean\fR [ -\fBD\fR ] [ -\fBv\fR ] [ -\fBt\fR ] [ -\fBr\fR ] [ -\fBn\fR ] -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR
+\fBhtcacheclean\fR [ -\fBD\fR ] [ -\fBv\fR ] [ -\fBt\fR ] [ -\fBr\fR ] [ -\fBn\fR ] [ -\fBR\fR\fIround\fR ] -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR
  
 .PP
-\fBhtcacheclean\fR [ -\fBn\fR ] [ -\fBt\fR ] [ -\fBi\fR ] [ -\fBP\fR\fIpidfile\fR ] -\fBd\fR\fIinterval\fR -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR
+\fBhtcacheclean\fR [ -\fBn\fR ] [ -\fBt\fR ] [ -\fBi\fR ] [ -\fBP\fR\fIpidfile\fR ] [ -\fBR\fR\fIround\fR ] -\fBd\fR\fIinterval\fR -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR
  
 .PP
-\fBhtcacheclean\fR [ -\fBD\fR ] [ -\fBv\fR ] [ -\fBt\fR ] -\fBp\fR\fIpath\fR \fIurl\fR
+\fBhtcacheclean\fR [ -\fBD\fR ] [ -\fBv\fR ] [ -\fBt\fR ] [ -\fBR\fR\fIround\fR ] -\fBp\fR\fIpath\fR \fIurl\fR
  
 
 .SH "SUMMARY"
@@ -70,6 +70,9 @@ Specify \fIpath\fR as the root directory of the disk cache\&. This should be the
 -P\fIpidfile\fR
 Specify \fIpidfile\fR as the name of the file to write the process ID to when daemonized\&.  
 .TP
+-R\fIround\fR
+Specify \fIround\fR as the amount to round sizes up to, to compensate for disk block sizes\&. Set to the block size of the cache partition\&.  
+.TP
 -l\fIlimit\fR
 Specify \fIlimit\fR as the total disk cache size limit\&. The value is expressed in bytes by default (or attaching B to the number)\&. Attach K for Kbytes or M for MBytes\&.  
 .TP
index 7e0f1ee9b75724aeef4bf4fd07788d41732857ea..b20a09531467d7da29c68fc9a14fb78b45ac75ed 100644 (file)
@@ -12,6 +12,6 @@
     <variant>fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
-    <variant outdated="yes">tr</variant>
+    <variant>tr</variant>
   </variants>
 </metafile>
index ec2d32f28a05f76c2fd7b67ff7572ee1a00ce674..d639933311df8104dfd90fe79d24be0edaf63fe0 100644 (file)
@@ -9,6 +9,6 @@
   <variants>
     <variant>en</variant>
     <variant>fr</variant>
-    <variant outdated="yes">tr</variant>
+    <variant>tr</variant>
   </variants>
 </metafile>
index 84940ab75d57d1ecc375932c8c7f1debdd7aaf8f..16c8da232bee58159c6535c277c5997e5d9c9fd6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 574882:1002112 (outdated) -->
+<!-- English Revision: 574882:1002119 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index af54ff6f1abc4dd675d6d0c1ff532c93d3d5eb1d..4dfe1155bf2f121edf3bdc83e1a7d807d7fc3be9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:1002112 (outdated) -->
+<!-- English Revision: 151408:1002119 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index ee6bc0b5cdd0e2bf4d5e92449587fa10a3245793..d6a18988bcec9571f6147d931773273f0fe7064f 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.pt-br.xsl"?>
-<!-- English Revision: 151408:1002112 (outdated) -->
+<!-- English Revision: 151408:1002119 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 33661c888019480ac1b61dafd67175496ce30852..39295d7407bd11dc4253f94d4721075ecfa6aad0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 167959:1001381 (outdated) -->
+<!-- English Revision: 167959:1002427 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 133ba5d05c894d5c9ba97af3175c056d92743c1f..f806b607bc968891cf78622a7e9c432adafcd45b 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 669847:1001381 (outdated) -->
+<!-- English Revision: 669847:1002427 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 6f0d77a25839347911c7432def7f3d211bdfe5f7..502dc23102b46d97ed88462f0d75d62c361320b0 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 813376:1001381 (outdated) -->
+<!-- English Revision: 813376:1002427 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index a93413036bdb553967202328b572476a9cb802a8..08956ec69d6f8fb88137b48d38a6e8fb687798ae 100644 (file)
     in which the datasets are organized in "slots."
     </p>
 
+    <p>All shared memory is cleared and cleaned with each
+    restart, whether graceful or not. The data itself is
+    stored and restored within a file noted by the <code>name</code>
+    parameter in the <code>create</code> and <code>attach</code>
+    calls.
+    </p>
+
     <p><code>mod_slotmem_shm</code> provides the following API functions:
     </p>
 
       <dd>call the callback on all worker slots</dd>
 
       <dt>apr_status_t create(ap_slotmem_instance_t **new, const char *name, apr_size_t item_size, unsigned int item_num, ap_slotmem_type_t type, apr_pool_t *pool)</dt>
-      <dd>create a new slotmem with each item size is item_size.</dd>
+      <dd>create a new slotmem with each item size is item_size. <code>name</code> is the filename for the persistent store of
+      the shared memory. Values are:
+       <dl>
+         <dt><code>"none"</code></dt>
+         <dd><code>Does not persist shared memory in file.</code></dd>
+         <dt><code>"anonymous"</code></dt>
+         <dd><code>$server_root/logs/anonymous.slotmem</code></dd>
+         <dt><code>":file-name"</code></dt>
+         <dd><code>$server_root/logs/file-name.slotmem</code></dd>
+         <dt><code>"absolute-file-name"</code></dt>
+         <dd><code>$absolute-file-name.slotmem</code></dd>
+       </dl></dd>
 
       <dt>apr_status_t attach(ap_slotmem_instance_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool)</dt>
-      <dd>attach to an existing slotmem.</dd>
+      <dd>attach to an existing slotmem. See <code>create</code> for description of <code>name</code> parameter.</dd>
 
       <dt>apr_status_t dptr(ap_slotmem_instance_t *s, unsigned int item_id, void**mem)</dt>
       <dd>get the direct pointer to the memory associated with this worker slot.</dd>
index 3c7323de5e82d47cc634b37d925fbdf57186cdb5..16bae3a45a92082bc235b9e6a7d146eefd60f7be 100644 (file)
@@ -47,6 +47,7 @@
     [ -<strong>t</strong> ]
     [ -<strong>r</strong> ]
     [ -<strong>n</strong> ]
+    [ -<strong>R</strong><var>round</var> ]
     -<strong>p</strong><var>path</var>
     -<strong>l</strong><var>limit</var></code></p>
 
@@ -55,6 +56,7 @@
     [ -<strong>t</strong> ]
     [ -<strong>i</strong> ]
     [ -<strong>P</strong><var>pidfile</var> ]
+    [ -<strong>R</strong><var>round</var> ]
     -<strong>d</strong><var>interval</var>
     -<strong>p</strong><var>path</var>
     -<strong>l</strong><var>limit</var></code></p>
@@ -63,6 +65,7 @@
     [ -<strong>D</strong> ]
     [ -<strong>v</strong> ]
     [ -<strong>t</strong> ]
+    [ -<strong>R</strong><var>round</var> ]
     -<strong>p</strong><var>path</var>
     <var>url</var></code></p>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
     <dd>Specify <var>pidfile</var> as the name of the file to write the
     process ID to when daemonized.</dd>
 
+    <dt><code>-R<var>round</var></code></dt>
+    <dd>Specify <var>round</var> as the amount to round sizes up to, to
+    compensate for disk block sizes. Set to the block size of the cache
+    partition.</dd>
+
     <dt><code>-l<var>limit</var></code></dt>
     <dd>Specify <var>limit</var> as the total disk cache size limit. The value
     is expressed in bytes by default (or attaching <code>B</code> to the