httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: httpd-2.0/docs/manual/programs htcacheclean.xml
Date Sat, 06 Nov 2004 23:36:08 GMT
nd          2004/11/06 15:36:08

  Added:       docs/manual/programs htcacheclean.xml
  document htcacheclean (more or less taken from the program itself)
  Revision  Changes    Path
  1.1                  httpd-2.0/docs/manual/programs/htcacheclean.xml
  Index: htcacheclean.xml
  <?xml version='1.0' encoding='UTF-8' ?>
  <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
  <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
  <!-- $Revision: 1.1 $ -->
   Copyright 2004 The Apache Software Foundation
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.
  <manualpage metafile="htcacheclean.xml.meta">
  <parentdocument href="./">Programs</parentdocument>
  <title>htcacheclean - Clean up the disk cache</title>
      <p><code>htcacheclean</code> is used to keep the size of
      <module>mod_disk_cache</module>'s storage within a certain limit. This
      tool can be either run manually or in daemon mode. When running in
      daemon mode, it sleeps in the background and checks the cache directories
      in regular intervals for stuff to be removed. You can stop the daemon
      cleanly, when sending him a TERM or INT signal.</p>
  <section id="synopsis"><title>Synopsis</title>
      [ -<strong>D</strong> ]
      [ -<strong>v</strong> ]
      [ -<strong>r</strong> ]
      [ -<strong>n</strong> ]
      <p><code><strong>htcacheclean</strong> -<strong>b</strong>
      [ -<strong>n</strong> ]
      [ -<strong>i</strong> ]
  <section id="options"><title>Options</title>
      <dd>Daemonize and repeat cache cleaning every <var>interval</var>
      This option is mutually exclusive with the <code>-D</code>, <code>-v</code>
      and <code>-r</code> options. To shutdown the daemon cleanly, just send it
      a <code>SIGTERM</code> or <code>SIGINT</code>.</dd>
      <dd>Do a dry run and don't delete anything. This option is mutually
      exclusive with the <code>-d</code> option.</dd>
      <dd>Be verbose and print statistics. This option is mutually exclusive
      with the <code>-d</code> option.</dd>
      <dd>Clean thoroughly. This assumes that the Apache web server is
      not running (otherwise you may get garbage in the cache). This option
      is mutually exclusive with the <code>-d</code> option.</dd>
      <dd>Be nice. This causes slower processing in favour of other
      processes. <code>htcacheclean</code> will sleep from time to time
      so that (a) the disk IO will be delayed and (b) the kernel can schedule
      other processes in the meantime.</dd>
      <dd>Specify <var>path</var> as the root directory of the disk cache.
      should be the same value as specified with the <directive
      module="mod_disk_cache">CacheRoot</directive> directive.</dd>
      <dd>Specify <var>limit</var> as the total disk cache size limit. The
      is expressed in bytes by default (or attaching <code>B</code> to the
      number). Attach <code>K</code> for Kbytes or <code>M</code>
      <dd>Be intelligent and run only when there was a modification of the disk
      cache. This option is only possible together with the <code>-d</code>
  <section id="exit"><title>Exit Status</title>
      <p><code>htcacheclean</code> returns a zero status ("true") if all
      operations were successful, <code>1</code> otherwise.</p>

View raw message