esto es de  la config de un squid 4.6 mio en debian 10 y me ha funcionado bien 
hasta ahora

Tal vez alguien pueda hacerlo mejor pero para mí ha funcionado
Intenta con los valores que se ajusten a tu red.

Saludos y suerte

################# CACHE -- CACHE -- CACHE -- ###################
################# CACHE -- CACHE -- CACHE -- ###################
#
#cache_peer foo.example.com parent (http + icp  ports)3128 3130
# no-query no-digest no-netdb-exchange default
cache_peer (Ip del proxy padre) parent 3128 3130
# Always send parent requests that can not be stored in cache
nonhierarchical_direct off
#Try parent before direct connection off, try direct first on
prefer_direct on

-----------Tamaño total de cache en disco --directorios y niveles
# cache directories and amount plus levels
cache_dir aufs /var/spool/squid 5120 16 256 
logfile_rotate 0

------------Tamaño de RAM cache
# cache_mem default 256 MB
cache_mem 768 MB

--------------Rotación de cache
############ Cache replacement ############
# LFUDA Least Frequently Used with Dynamic Aging to be replaced.
cache_replacement_policy heap LFUDA
# Objects to be purged when memory needed
memory_replacement_policy heap GDSF


-------------Aquí se maneja el espacio en disco
############ Disk sapace handling ############
# Default 4 MB. Increased to help LFUDA policy.
maximum_object_size 32 MB
minimum_object_size 3 KB

-----------Manejo de la RAM en dependencia de los valores asignados
############# RAM handling: ############
# Max RAM memory used by an object.
maximum_object_size_in_memory 4 MB
# Caching the biggest amount of IP data:
ipcache_size 10240
ipcache_low 98
ipcache_high 99
fqdncache_size 10240

----------- Cache de intercambio
############ Cache Swap: ############
# Specific Min and Max limits in %  to control replacement of disk storage.
cache_swap_low 90
cache_swap_high 95
# Free memory
memory_pools off
_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a