Project

General

Profile

Actions

Bug #114

closed

squid.inc issue cache_replacement_policy heap LFUDA

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

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

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus 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 !!!

Actions #1

Updated by Scott Ullrich over 14 years ago

  • Status changed from New to Resolved

Applied in changeset commit:"c0c5582340eaf9eebf2ba363eb786b88758110ef".

Actions

Also available in: Atom PDF