Project

General

Profile

Bug #114

squid.inc issue cache_replacement_policy heap LFUDA

Added by Fahmi Syafrizal over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
10/15/2009
Due date:
% Done:

100%

Estimated time:
Affected Version:
Affected Architecture:

Description

This issue is a mistake on the order of the line default config squid.inc


cache_dir $disk_cache_system $cachedir $disk_cache_size $level1 256
cache_mem $memory_cache_size MB
maximum_object_size $max_objsize KB
minimum_object_size $min_objsize KB
cache_replacement_policy $cache_policy
memory_replacement_policy $memory_policy
offline_mode $offline_mode
dns_children 32

see on the shell command :

squidclient -p 80 cache_object://localhost/config | grep -i cache_replacement_policy
cache_replacement_policy lru

this fixed with order of the line:

cache_mem $memory_cache_size MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy $memory_policy
cache_replacement_policy $cache_policy
cache_dir $disk_cache_system $cachedir $disk_cache_size $level1 256
minimum_object_size $min_objsize KB
maximum_object_size $max_objsize KB
offline_mode $offline_mode
dns_children 32

and look with the command shell :

squidclient -p 80 cache_object://localhost/config | grep -i cache_replacement_policy
cache_replacement_policy heap LFUDA

fixed !!!

History

#1 Updated by Scott Ullrich over 10 years ago

  • Status changed from New to Resolved

Applied in changeset commit:"c0c5582340eaf9eebf2ba363eb786b88758110ef".

Also available in: Atom PDF