Apache HTTP Server Version 2.2
This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.
You may follow this link to go to the current version of this document.
htcacheclean
˼ mod_disk_cache
°¡
»ç¿ëÇÏ´Â ÀúÀå¼Ò ¿ë·®À» ÀÏÁ¤ Çѵµ·Î À¯ÁöÇÑ´Ù. ÀÌ µµ±¸´Â Á÷Á¢
½ÇÇàÇϰųª µ¥¸ó(daemon)À¸·Î ½ÇÇàÇÒ ¼ö ÀÖ´Ù. ÇÁ·Î±×·¥À» µ¥¸óÀ¸·Î
½ÇÇàÇÏ¸é ¹é±×¶ó¿îµå¿¡¼ ÀáÀÚ°í ÀÖ´Ù°¡ ÀÏÁ¤ ÁÖ±â·Î ij½¬
µð·ºÅ丮¿¡¼ Áö¿ï °ÍÀÌ ÀÖ´ÂÁö °Ë»çÇÑ´Ù. µ¥¸ó¿¡°Ô TERMÀ̳ª
INT ½Ã±×³ÎÀ» º¸³»¸é ¾ÈÀüÇÏ°Ô Á¾·áÇÑ´Ù.
htcacheclean
[ -D ]
[ -v ]
[ -r ]
[ -n ]
-ppath
-llimit
htcacheclean -b
[ -n ]
[ -i ]
-dinterval
-ppath
-llimit
-dinterval
-D
, -v
,
-r
¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù. µ¥¸óÀ» ¾ÈÀüÇÏ°Ô
Á¾·áÇÏ·Á¸é µ¥¸ó¿¡°Ô SIGTERM
ȤÀº
SIGINT
½Ã±×³ÎÀ» º¸³»¸é µÈ´Ù.-D
-d
¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.-v
-d
¿É¼Ç°ú
ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.-r
-d
¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.-n
htcacheclean
°¡ ÀÚÁÖ ÀáÀ» ÀڰԵǿ©
(1) µð½ºÅ© ÀÔÃâ·ÂÀÌ Áö¿¬µÇ°í (2) ±×µ¿¾È Ä¿³ÎÀº ´Ù¸¥ ÇÁ·Î¼¼½º¸¦
½ºÄÉÁÙÇÒ ¼ö ÀÖ´Ù.-ppath
CacheRoot
Áö½Ã¾î¿¡ »ç¿ëÇÑ °ª°ú µ¿ÀÏÇÑ °ªÀ» »ç¿ëÇØ¾ß ÇÑ´Ù.-llimit
B
¸¦ ºÙÀ̸é) ¹ÙÀÌÆ®
´ÜÀ§ÀÌ´Ù. ų·Î¹ÙÀÌÆ®´Â K
¸¦, ¸Þ°¡¹ÙÀÌÆ®´Â
M
À» µÚ¿¡ ºÙÀδÙ.-i
-d
¿É¼Ç°ú ÇÔ²²¸¸ »ç¿ëÇÒ ¼ö ÀÖ´Ù.htcacheclean
´Â ¸ðµç ÀÛ¾÷ÀÌ ¼º°øÇÑ °æ¿ì¿¡
("Âü") Á¾·áÄÚµå 0À» ¹ÝȯÇÏ°í, ½ÇÆÐÇÑ °æ¿ì¿¡´Â 1
À»
¹ÝȯÇÑ´Ù.