[pfSense Packages - Bug #114] (Resolved) squid.inc issue cache_replacement_polic



  • Issue #114 has been updated by Scott Ullrich.
    Status changed from New to Resolved
    Applied in changeset c0c5582340eaf9eebf2ba363eb786b88758110ef.

    –------------------------------------------------------------------------------

    Bug #114: squid.inc issue cache_replacement_policy heap LFUDA
    Author: Fahmi Syafrizal
    Status: Resolved
    Priority: High
    Assigned to: Scott Ullrich
    Category:
    Target version:
    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 !!!


    You have received this notification because you have either subscribed to it, or are involved in it.
    To change your notification preferences, please click here: http://redmine.pfsense.org/my/account



  • akhirnya …

    kelamaan om sullrich nge fix nya ... :D
    keduluan sama om @grage95



  • Bukan kelamaan, tapi mang kurang merhatikan fungsi proxy tu developper… jadi nunggu report dulu.. :D


Log in to reply