Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

htcacheclean(8) [osx man page]

HTCACHECLEAN(8) 						   htcacheclean 						   HTCACHECLEAN(8)

NAME
htcacheclean - Clean up the disk cache SYNOPSIS
htcacheclean [ -D ] [ -v ] [ -t ] [ -r ] [ -n ] -ppath -llimit htcacheclean [ -n ] [ -t ] [ -i ] -dinterval -ppath -llimit SUMMARY
htcacheclean is used to keep the size of mod_disk_cache's storage within a certain limit. This tool can run either manually or in daemon mode. When running in daemon mode, it sleeps in the background and checks the cache directories at regular intervals for cached content to be removed. You can stop the daemon cleanly by sending it a TERM or INT signal. OPTIONS
-dinterval Daemonize and repeat cache cleaning every interval minutes. This option is mutually exclusive with the -D, -v and -r options. To shutdown the daemon cleanly, just send it a SIGTERM or SIGINT. -D Do a dry run and don't delete anything. This option is mutually exclusive with the -d option. -v Be verbose and print statistics. This option is mutually exclusive with the -d option. -r 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 -d option and implies the -t option. -n Be nice. This causes slower processing in favour of other processes. htcacheclean 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. -t Delete all empty directories. By default only cache files are removed, however with some configurations the large number of directo- ries created may require attention. If your configuration requires a very large number of directories, to the point that inode or file allocation table exhaustion may become an issue, use of this option is advised. -ppath Specify path as the root directory of the disk cache. This should be the same value as specified with the CacheRoot directive. -llimit Specify limit 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. -i Be intelligent and run only when there was a modification of the disk cache. This option is only possible together with the -d option. EXIT STATUS
htcacheclean returns a zero status ("true") if all operations were successful, 1 otherwise. Apache HTTP Server 2008-05-06 HTCACHECLEAN(8)

Check Out this Related Man Page

ICECREAM 
DAEMON(1) Icecream User's Manual ICECREAM DAEMON(1) NAME
iceccd - Icecream daemon SYNOPSIS
iceccd [-n netname] [-m max_processes] [--no-remote] [-w] [-d | --daemonize] [-l logfile] [-s schedulerhost] [-v [v [v]]] [-r | --run-as-user] [-b env-basedir] [-u | --nobody-uid nobodyuid] [--cache-limit MB] [-N hostname] DESCRIPTION
The Icecream daemon has to run on all nodes being part of the Icecream compile cluster. It receives compile jobs and executes them in a ch- root environment. The compile clients send their compile environment the first time they send a job to a particular daemon, so that the en- vironment of the daemon doesn't have to match the one of the client. The daemon also has to run on clients sending compile jobs to the Icecream network. If a node should be able to send compile jobs, but nev- er receive any, start the daemon with the option -m 0. All Icecream daemons need to have contact to the Icecream scheduler which controls the distribution of data between compile nodes. Normally the daemon will automatically find the right scheduler. If this is not the case you can explicitly specify the name of the Icecream network and the host running the scheduler. OPTIONS
-n netname The name of the icecream network the daemon should connect to. There has to be a scheduler running for the network under the same network name. -m max_processes Maximum number of compile jobs started in parallel on machine running the daemon. --no-remote Prevents jobs from other nodes being scheduled on this one. -w -d, --daemonize Detach daemon from shell. -l logfile Name of file where log output is written to. -s scheduler_host Name of host running the scheduler for the network the daemon should connect to. This option might help if the scheduler can't broadcast its presence to the clients due to firewall settings or similar reasons. -v, -vv, -vvv Control verbosity of daemon. The more v the more verbose. -r, --run-as-user Force running the daemon with user rights. Usually you will need to run the daemon with root rights. -b env_basedir Base directory for storing compile environments sent to the daemon by the compile clients. -u, --nobody-uid nobodyuid Id of user nobody. This user id is used when the daemon is dropping privileges. --cache-limit MB Maximum size in Mega Bytes of cache used to store compile environments of compile clients. -N hostname The name of the icecream host on the network. SEE ALSO
icecream, scheduler, iceccd, icemon AUTHOR
Cornelius Schumacher Icecream April 21th, 2005 ICECREAM DAEMON(1)
Man Page