Squid configuration directive cache_swap_high

Available in: 4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

For older versions than 3.3 see the linked pages above

Configuration Details:

Option Name:cache_swap_high
Default Value:cache_swap_high 95
Suggested Config:

	The high-water mark for AUFS/UFS/diskd cache object eviction by
	the cache_replacement_policy algorithm.

	Removal begins when the swap (disk) usage of a cache_dir is
	above the low-water mark set by cache_swap_low and attempts to
	maintain utilization near the low-water mark.

	As swap utilization increases towards this high-water mark object
	eviction becomes more agressive.

	The value difference in percentages between low- and high-water
	marks represent an eviction rate of 300 objects per second and
	the rate continues to scale in agressiveness by multiples of
	this above the high-water mark.

	Defaults are 90% and 95%. If you have a large cache, 5% could be
	hundreds of MB. If this is the case you may wish to set these
	numbers closer together.

	See also cache_swap_low and cache_replacement_policy








Web Site Translations