Search squid archive

Re: Problems enabling cache_replacement_policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manuel Trujillo wrote:
On Tue, Mar 3, 2009 at 00:33, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
Many things in squid.conf are order-specific.

Humm... I don't know this...

The cache_replacement_policy setting can be used multiple times, and only
affects the cache_dire defined below it.

This is the part about this in my config file:

########################################################
## PARAMETROS CACHE
########################################################

squid in memory has default LFU scheme....

#cache_dir aufs /var/cache/squid 81920 16 64
cache_dir aufs /var/cache/squid 40960 16 64

... creates cache_dir with all settings (including LFU) ...

pid_filename /var/run/squid.pid

########################################################
## TUNING EN CASO NECESARIO (a descomentar)
########################################################
#client_db off

########################################################
## PARAMETRIZACION DE LA CACHE MEMORIA
########################################################
cache_replacement_policy heap GDSF

.. changes default policy to heap GDSF ...


memory_replacement_policy heap GDSF
high_memory_warning 2048 MB

... oops. no more cache_dir to use heap with. Stop.


Is this right?

no. see above.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux