squid 3.x muy lento

Publicado por wifi net, Marzo 04, 2013, 12:14:23 PM

Tema anterior - Siguiente tema

wifi net

Hola amigo del foro nesesito me den una mano con el equid 3.x,tengo un thunder cache 3.1.2 montado en una i5 2300
con 6gb de ram 1 disco para sistema de 320 y otro de 1 tb para cache lo monte gracias al foro.
El cahe de videos y cosas dinamicas me funciona de maravilla el preblema de presenta con las paguinas estaticas
que maneja el equid llego a tener 50 usuarios simultaniamente y  ay se presenta el problema de LENTITUD tengo 15 megas asimetricos
asepto toda clase de ayuda dede ya gracias
coredump_dir /var/spool/squid3
#----------------------------------------------------------------------
# Memoria reservada para cache
# Se recomienda que dedique aprox. 5MB de RAM por cada 1GB asignado a cache_dir
#----------------------------------------------------------------------
cache_mem 2048 MB
#----------------------------------------------------------------------
# Maximo tamaño de archivo en cache de memoria
#----------------------------------------------------------------------
maximum_object_size_in_memory 1000 KB
#----------------------------------------------------------------------
# Maximo y minimo tamaño de archivos cache en el Disco duro
#----------------------------------------------------------------------
maximum_object_size 120 MB
minimum_object_size 0 KB
#----------------------------------------------------------------------
# Sustituir archivos de cache cuando llegue a 96%
#----------------------------------------------------------------------
cache_swap_low 92
cache_swap_high 96
#----------------------------------------------------------------------
# Total de espacio en HD a ser usado por el cache, numero de carpetas,
# numero de subcarpetas en cache
# 100000 = 100 GB
#----------------------------------------------------------------------
cache_dir aufs /var/spool/squid3/cache1 100000  16 256
#----------------------------------------------------------------------
# Estandar de actualización de cache
# 1 mes = 10080 mins, 1 dia = 1440 mins
#----------------------------------------------------------------------
refresh_pattern -i \.jpg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.gif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.png$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.jpeg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.bmp$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tiff$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.swf$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.html$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.htm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtml$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.nub$ 2880 80% 21600 reload-into-ims
refresh_pattern -i \.exe$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.mov$ 14400 80% 43200
refresh_pattern -i \.mpe?g?$ 14400 80% 43200
refresh_pattern -i \.avi$ 14400 80% 43200
refresh_pattern -i \.qtm?$ 14400 80% 43200
refresh_pattern -i \.viv$ 14400 80% 43200
refresh_pattern -i \.wav$ 14400 80% 43200
refresh_pattern -i \.aiff?$ 14400 80% 43200
refresh_pattern -i \.au$ 14400 80% 43200
refresh_pattern -i \.ram?$ 14400 80% 43200
refresh_pattern -i \.snd$ 14400 80% 43200
refresh_pattern -i \.mid$ 14400 80% 43200
refresh_pattern -i \.mp2$ 14400 80% 43200
refresh_pattern -i \.mp3$ 14400 80% 43200
refresh_pattern -i \.sit$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.hqx$ 14400 80% 43200
refresh_pattern -i \.arj$ 14400 80% 43200
refresh_pattern -i \.lzh$ 14400 80% 43200
refresh_pattern -i \.lha$ 14400 80% 43200
refresh_pattern -i \.cab$ 14400 80% 43200
refresh_pattern -i \.rar$ 14400 80% 43200
refresh_pattern -i \.tar$ 14400 80% 43200
refresh_pattern -i \.gz$ 14400 80% 43200
refresh_pattern -i \.z$ 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.txt$ 14400 80% 43200
refresh_pattern -i \.pdf$ 14400 80% 43200
refresh_pattern -i \.doc$ 14400 80% 43200
refresh_pattern -i \.rtf$ 14400 80% 43200
refresh_pattern -i \.tex$ 14400 80% 43200
refresh_pattern -i \.latex$ 14400 80% 43200
refresh_pattern -i \.class$ 14400 80% 43200
refresh_pattern -i \.js$ 14400 80% 43200
refresh_pattern -i \.ico$ 14400 80% 43200
refresh_pattern -i \.css$ 10 20% 4320
#----------------------------------------------------------------------
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
#refresh_pattern (Release|Package(.gz)*)$       0       20%     2880
refresh_pattern .               0       20%     4320
#----------------------------------------------------------------------
# Log de acessos por el cache o para SARG
#----------------------------------------------------------------------
logfile_rotate 7
access_log /var/log/squid3/access.log
access_log /var/log/squid3/error.log
cache_store_log none
#----------------------------------------------------------------------
# Otras configuraciones
#----------------------------------------------------------------------
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
log_fqdn off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
max_filedescriptors 65536
cache_effective_user proxy
cache_effective_group proxy
#----------------------------------------------------------------------
# Manteniendo objetos recientes y pequeños en memoria
#----------------------------------------------------------------------
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
#----------------------------------------------------------------------
# Sitios que se les niega el cache  
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
no_cache deny nocache
#----------------------------------------------------------------------
# Negar cache para archivos con extencion .asx e .asf |streaming|
#----------------------------------------------------------------------
acl asx url_regex -i \.asx$
cache deny asx
acl asf url_regex -i \.asf$
cache deny asf
#----------------------------------------------------------------------
#Redireccionamiento Thunder - REGEx
#----------------------------------------------------------------------
acl thunder_lst url_regex -i "/etc/thunder/thunder.lst"
cache deny thunder_lst
cache_peer 192.168.10.2 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.10.2 allow thunder_lst
cache_peer_access 192.168.10.2 deny all
#----------------------------------------------------------------------

ingjaab

seguro que no las optimizado , tendria que optimizarlo para que funcion bien , bueno en mi caso trabjo mejor con squid 2.7 lo veo mas robusto , es mi opinion , puede ser que otro lo guste el 3x , saludos

pd: thunder de 64 bit con squid 2,7 corre en una red de 200 usuarios  :-* y todo ok
Mueres siendo un héroe, o vives lo suficiente para convertirte en villano

wifi net

hola y gracias por responder y como se optimisa me podrias dar un ejemplo o alguna pag

ingjaab

Mueres siendo un héroe, o vives lo suficiente para convertirte en villano

firecold

yo la tengo de esta manera, de la misma manera que tu tengo 15 megas, casi lo mismo de clientes que usted y una core2duo 2.93GHz  (2 cores), 8 de ram, disco para el sistema 320 y 1tb para el cache de raptor, en lo particular prefiero squid3, tiene muchas ventajas que no goza squid2.7, pero cada quien tiene su propia opinion, mi configuracion es esta:

#=========================== Squid3 Conf =============================#
# -----------------------------------------------------------------------------
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
# Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
# -----------------------------------------------------------------------------
acl SSL_ports port 443 5222
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # Cups
acl CONNECT method CONNECT
#----------------------------------------------------------------------
acl accesototal src "/etc/squid3/accesototal.txt"
acl mired src "/etc/squid3/mired.txt"
acl webloqueadas url_regex -i "/etc/squid3/sitiosdenegados.txt"
acl magic_words1 url_regex -i 192.168.1
acl magic_words2 url_regex -i .exe .mp3 .zip .rar .avi .mpeg .mpe .mpg .wav .mov .3gp .mov .flv .mp2 .mp5 .aac .wma .ogg .mka .asf .iff .amv
#----------------------------------------------------------------------
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow manager localhost
http_access deny manager all
#----------------------------------------------------------------------
http_access deny localhost
http_access allow accesototal
http_access allow mired !webloqueadas
http_access deny all
htcp_access deny all
#----------------------------------------------------------------------
# Sitios que se les niega el cache 
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$ .jw.org
no_cache deny nocache
# -----------------------------------------------------------------------------
# NETWORK OPTIONS
# -----------------------------------------------------------------------------
# Squid normally listens to port 3128
http_port 3128 intercept
# htcp_port 0
#ignore_expect_100 on
# We recommend you to use at least the following line.
# hierarchy_stoplist cgi-bin ?
# -----------------------------------------------------------------------------
# MEMORY CACHE OPTIONS
# -----------------------------------------------------------------------------
cache_mem 2048 MB
maximum_object_size_in_memory 80 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
hosts_file /etc/hosts
# -----------------------------------------------------------------------------
# DISK CACHE OPTIONS
# -----------------------------------------------------------------------------
cache_dir aufs /var/spool/squid3/cache 10000 16 256
cache_dir aufs /var/spool/squid3/cache1 10000 16 256
minimum_object_size 0 KB
maximum_object_size 200 MB
cache_swap_low 92
cache_swap_high 96
# -----------------------------------------------------------------------------
# LOGFILE OPTIONS
# -----------------------------------------------------------------------------
access_log /var/log/squid3/access.log squid
cache_store_log none
cache_log /var/log/squid3/cache.log
# client_netmask 255.255.255.0
# -----------------------------------------------------------------------------
# OPTIONS FOR TROUBLESHOOTING
# -----------------------------------------------------------------------------
coredump_dir /var/spool/squid3
#----------------------------------------------------------------------
# Estandar de actualizacion de cache
# 1 mes = 10080 mins, 1 dia = 1440 mins
#----------------------------------------------------------------------
refresh_pattern -i .(gif|png|jp?g|ico|bmp|tiff?)$ 14400 80% 43200 reload-into-ims
refresh_pattern -i .(swf|htm|html|shtm|shtml|nub)$ 14400 80% 43200 reload-into-ims
refresh_pattern -i .(rpm|cab|deb|exe|msi|msu|zip|tar|xz|bz|bz2|lzma|gz|tgz|rar|bin|7z|doc?|xls?|ppt?|pdf|nth|psd|sis)$ 14400 80% 43200
refresh_pattern -i .(avi|iso|wav|mid|mp?|mpe?g?|mpeg|mov|3gp|wm?|flv|x-flv|axd)$ 14400 80% 43200
refresh_pattern -i .(qtm?|viv|au|ram?|snd|sit|hqx|arj|lzh|lha|txt|rtf|tex|latex|class|js|ico)$ 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.css$ 10 20% 4320
#----------------------------------------------------------------------
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
#refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
# -----------------------------------------------------------------------------
# HTTP OPTIONS
# -----------------------------------------------------------------------------
request_header_max_size 256 KB
ie_refresh on
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
read_ahead_gap 16384 KB
negative_ttl 0 seconds
positive_dns_ttl 86400 seconds
negative_dns_ttl 1 seconds
fqdncache_size 16384
max_filedescriptors 65536
# -----------------------------------------------------------------------------
# TIMEOUTS
# -----------------------------------------------------------------------------
forward_timeout 240 seconds
connect_timeout 60 seconds
peer_connect_timeout 30 seconds
read_timeout 900 seconds
request_timeout 120 seconds
persistent_request_timeout 60 seconds
client_lifetime 60 minutes
half_closed_clients off
pconn_timeout 60 seconds
shutdown_lifetime 20 seconds
forwarded_for off
pipeline_prefetch off
# -----------------------------------------------------------------------------
# ADMINISTRATIVE PARAMETERS
# -----------------------------------------------------------------------------
# TAG: cache_mgr
cache_mgr Firecold
cache_effective_user proxy
cache_effective_group proxy
ftp_user anonymous@anonymous.com
visible_hostname proxy.os.com
dns_nameservers 127.0.0.1
dns_retransmit_interval 5 seconds
dns_timeout 2 minutes
ipcache_size 40960
ipcache_low 98
ipcache_high 99
memory_pools off
offline_mode on
reload_into_ims on
store_dir_select_algorithm round-robin
#esi_parser custom
# -----------------------------------------------------------------------------
# Qos
# -----------------------------------------------------------------------------
qos_flows local-hit=0x30
qos_flows parent-hit=0x32
qos_flows disable-preserve-miss
# -----------------------------------------------------------------------------
# DELAY POOL PARAMETERS
# -----------------------------------------------------------------------------
delay_pools 3
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow accesototal
# -----------------------------------------------------------------------------
delay_class 2 2
#-1/-1 significa que no hay limites.
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow magic_words1
# -----------------------------------------------------------------------------
delay_class 3 2
delay_parameters 3 60000/60000 60000/60000
delay_access 3 allow magic_words2
#----------------------------------------------------------------------
acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
cache deny raptor_lst
cache_peer 192.168.1.1 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.1.1 allow raptor_lst
cache_peer_access 192.168.1.1 deny all
#----------------------------------------------------------------------


Cualquier duda con la configuración, o con algún parámetro de la configuración, házmelo saber especificamente el que te cause duda, no tendre ningun problema en explicartelo, Saludos

rjfz

esta es la config que tengo ta que se instala con la instalacion del amigo joemg


#=========================== Squid 3.x Conf =============================#

#=================== Para uso con ThunderCache ===================#

# Opciones de SQUID 3.x
#----------------------------------------------------------------------
http_port 3128 intercept
visible_hostname proxy.routero-os.com
icp_port 0
#----------------------------------------------------------------------
#error_directory /usr/share/squid3/errors/Spanish/
#----------------------------------------------------------------------
acl denegados url_regex -i "/etc/squid3/denegados.lst"
#----------------------------------------------------------------------
# Servidor DNS y Politica de Cambios
#----------------------------------------------------------------------
dns_nameservers 192.168.10.1 
dns_retransmit_interval 5 seconds
dns_timeout 2 minutes
#----------------------------------------------------------------------
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl CONNECT method CONNECT

acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl SSL_ports port 443
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl Safe_ports port 631         # cups
acl Safe_ports port 873         # rsync
acl Safe_ports port 901         # SWAT
acl Safe_ports port 1863        # MSN
#acl SSL_ports port 443          # https
acl SSL_ports port 563          # snews
acl SSL_ports port 873          # rsync

http_access allow manager localhost
http_access deny manager all
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny denegados
#----------------------------------------------------------------------
coredump_dir /var/spool/squid3
#----------------------------------------------------------------------
# Memoria reservada para cache
# Se recomienda que dedique aprox. 14MB de RAM por cada 1GB asignado a cache_dir
#----------------------------------------------------------------------
cache_mem 1536 MB
#----------------------------------------------------------------------
# Maximo tamaño de archivo en cache de memoria
#----------------------------------------------------------------------
maximum_object_size_in_memory 224 KB
#----------------------------------------------------------------------
# Maximo y minimo tamaño de archivos cache en el Disco duro
#----------------------------------------------------------------------
maximum_object_size 40 MB
minimum_object_size 0 KB
#----------------------------------------------------------------------
# Sustituir archivos de cache cuando llegue a 96%
#----------------------------------------------------------------------
cache_swap_low 92
cache_swap_high 96
#----------------------------------------------------------------------
# Total de espacio en HD a ser usado por el cache, numero de carpetas,
# numero de subcarpetas en cache
# 100000 = 100 GB
#----------------------------------------------------------------------
cache_dir aufs /var/spool/squid3/cache1 100000  16 256
#----------------------------------------------------------------------
# Estandar de actualización de cache
# 1 mes = 10080 mins, 1 dia = 1440 mins
#----------------------------------------------------------------------
refresh_pattern -i \.jpg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.gif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.png$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.jpeg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.bmp$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tiff$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.swf$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.html$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.htm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtml$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.nub$ 2880 80% 21600 reload-into-ims
refresh_pattern -i \.exe$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.mov$ 14400 80% 43200
refresh_pattern -i \.mpe?g?$ 14400 80% 43200
refresh_pattern -i \.avi$ 14400 80% 43200
refresh_pattern -i \.qtm?$ 14400 80% 43200
refresh_pattern -i \.viv$ 14400 80% 43200
refresh_pattern -i \.wav$ 14400 80% 43200
refresh_pattern -i \.aiff?$ 14400 80% 43200
refresh_pattern -i \.au$ 14400 80% 43200
refresh_pattern -i \.ram?$ 14400 80% 43200
refresh_pattern -i \.snd$ 14400 80% 43200
refresh_pattern -i \.mid$ 14400 80% 43200
refresh_pattern -i \.mp2$ 14400 80% 43200
refresh_pattern -i \.mp3$ 14400 80% 43200
refresh_pattern -i \.sit$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.hqx$ 14400 80% 43200
refresh_pattern -i \.arj$ 14400 80% 43200
refresh_pattern -i \.lzh$ 14400 80% 43200
refresh_pattern -i \.lha$ 14400 80% 43200
refresh_pattern -i \.cab$ 14400 80% 43200
refresh_pattern -i \.rar$ 14400 80% 43200
refresh_pattern -i \.tar$ 14400 80% 43200
refresh_pattern -i \.gz$ 14400 80% 43200
refresh_pattern -i \.z$ 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.txt$ 14400 80% 43200
refresh_pattern -i \.pdf$ 14400 80% 43200
refresh_pattern -i \.doc$ 14400 80% 43200
refresh_pattern -i \.rtf$ 14400 80% 43200
refresh_pattern -i \.tex$ 14400 80% 43200
refresh_pattern -i \.latex$ 14400 80% 43200
refresh_pattern -i \.class$ 14400 80% 43200
refresh_pattern -i \.js$ 14400 80% 43200
refresh_pattern -i \.ico$ 14400 80% 43200
refresh_pattern -i \.css$ 10 20% 4320
#----------------------------------------------------------------------
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
#refresh_pattern (Release|Package(.gz)*)$       0       20%     2880
refresh_pattern .               0       20%     4320
#----------------------------------------------------------------------
# Log de acessos por el cache o para SARG
#----------------------------------------------------------------------
logfile_rotate 7
access_log /var/log/squid3/access.log
access_log /var/log/squid3/error.log
cache_store_log none
#----------------------------------------------------------------------
# Otras configuraciones
#----------------------------------------------------------------------
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
log_fqdn off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
max_filedescriptors 65536
cache_effective_user proxy
cache_effective_group proxy
#----------------------------------------------------------------------
# Manteniendo objetos recientes y pequeños en memoria
#----------------------------------------------------------------------
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
#----------------------------------------------------------------------
# Sitios que se les niega el cache 
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
no_cache deny nocache
#----------------------------------------------------------------------
# Negar cache para archivos con extencion .asx e .asf |streaming|
#----------------------------------------------------------------------
acl asx url_regex -i \.asx$
cache deny asx
acl asf url_regex -i \.asf$
cache deny asf
#----------------------------------------------------------------------
#Redireccionamiento Thunder - REGEx
#----------------------------------------------------------------------
acl thunder_lst url_regex -i "/etc/thunder/thunder.lst"
cache deny thunder_lst
cache_peer 192.168.10.2 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.10.2 allow thunder_lst
cache_peer_access 192.168.10.2 deny all
#--------------------------------------------------------------------

la interface
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
   address 192.168.10.2
   netmask 255.255.255.0
   network 192.168.10.0
   broadcast 192.168.10.255
   gateway 192.168.10.1
   # dns-* options are implemented by the resolvconf package, if installed
   dns-nameservers 192.168.10.1
   dns-search thunder.net

y en ajustes dns asi
search proxy.routero-os.com
nameserver 127.0.0.1
nameserver 192.168.10.1

ciudadwifi_puno

.........
y en ajustes dns asi
search proxy.routero-os.com
nameserver 127.0.0.1
nameserver 192.168.10.1[/quote]

Mi estimado hay veo que tienes activado DNS cache con thunder, y si estas usando DNS cache con mikrotik deberías quitar la lineanameserver 127.0.0.1, ya que no puedes usar mas de un DNS cache

tonyvzla

Amigo firecold y para una conexion de 3M con casi 30 clientes, como lo pondriamos? gracias por tu aporte
En ayuda de los mas desprotegidos

iDiabloo666

3 megas para 30 clientes? yo con 10clientes y mega y medio estoy queriendo llorar!!!

firecold

Cita de: tonyvzla en Julio 17, 2013, 08:50:39 PM
Amigo firecold y para una conexion de 3M con casi 30 clientes, como lo pondriamos? gracias por tu aporte

igual solo que aumentaria mis threads un poco mas, en el sistema y en squid, Saludos

firecold

Cita de: wifi en Marzo 04, 2013, 12:14:23 PM
Hola amigo del foro nesesito me den una mano con el equid 3.x,tengo un thunder cache 3.1.2 montado en una i5 2300
con 6gb de ram 1 disco para sistema de 320 y otro de 1 tb para cache lo monte gracias al foro.
El cahe de videos y cosas dinamicas me funciona de maravilla el preblema de presenta con las paguinas estaticas
que maneja el equid llego a tener 50 usuarios simultaniamente y  ay se presenta el problema de LENTITUD tengo 15 megas asimetricos
asepto toda clase de ayuda dede ya gracias
coredump_dir  var spool squid3
#----------------------------------------------------------------------
# Memoria reservada para cache
# Se recomienda que dedique aprox. 5MB de RAM por cada 1GB asignado a cache_dir
#----------------------------------------------------------------------
cache_mem 2048 MB
#----------------------------------------------------------------------
# Maximo tamaño de archivo en cache de memoria
#----------------------------------------------------------------------
maximum_object_size_in_memory 1000 KB
#----------------------------------------------------------------------
# Maximo y minimo tamaño de archivos cache en el Disco duro
#----------------------------------------------------------------------
maximum_object_size 120 MB
minimum_object_size 0 KB
#----------------------------------------------------------------------
# Sustituir archivos de cache cuando llegue a 96%
#----------------------------------------------------------------------
cache_swap_low 92
cache_swap_high 96
#----------------------------------------------------------------------
# Total de espacio en HD a ser usado por el cache, numero de carpetas,
# numero de subcarpetas en cache
# 100000 = 100 GB
#----------------------------------------------------------------------
cache_dir aufs  var spool squid3 cache1 100000  16 256
#----------------------------------------------------------------------
# Estandar de actualización de cache
# 1 mes = 10080 mins, 1 dia = 1440 mins
#----------------------------------------------------------------------
refresh_pattern -i \.jpg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.gif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.png$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.jpeg$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.bmp$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tif$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.tiff$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.swf$ 14400 80% 43200 reload-into-ims
refresh_pattern -i \.html$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.htm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtml$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.shtm$ 10 20% 4320 reload-into-ims
refresh_pattern -i \.nub$ 2880 80% 21600 reload-into-ims
refresh_pattern -i \.exe$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.mov$ 14400 80% 43200
refresh_pattern -i \.mpe?g?$ 14400 80% 43200
refresh_pattern -i \.avi$ 14400 80% 43200
refresh_pattern -i \.qtm?$ 14400 80% 43200
refresh_pattern -i \.viv$ 14400 80% 43200
refresh_pattern -i \.wav$ 14400 80% 43200
refresh_pattern -i \.aiff?$ 14400 80% 43200
refresh_pattern -i \.au$ 14400 80% 43200
refresh_pattern -i \.ram?$ 14400 80% 43200
refresh_pattern -i \.snd$ 14400 80% 43200
refresh_pattern -i \.mid$ 14400 80% 43200
refresh_pattern -i \.mp2$ 14400 80% 43200
refresh_pattern -i \.mp3$ 14400 80% 43200
refresh_pattern -i \.sit$ 14400 80% 43200
refresh_pattern -i \.zip$ 14400 80% 43200
refresh_pattern -i \.hqx$ 14400 80% 43200
refresh_pattern -i \.arj$ 14400 80% 43200
refresh_pattern -i \.lzh$ 14400 80% 43200
refresh_pattern -i \.lha$ 14400 80% 43200
refresh_pattern -i \.cab$ 14400 80% 43200
refresh_pattern -i \.rar$ 14400 80% 43200
refresh_pattern -i \.tar$ 14400 80% 43200
refresh_pattern -i \.gz$ 14400 80% 43200
refresh_pattern -i \.z$ 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9]$ 14400 80% 43200
refresh_pattern -i \.txt$ 14400 80% 43200
refresh_pattern -i \.pdf$ 14400 80% 43200
refresh_pattern -i \.doc$ 14400 80% 43200
refresh_pattern -i \.rtf$ 14400 80% 43200
refresh_pattern -i \.tex$ 14400 80% 43200
refresh_pattern -i \.latex$ 14400 80% 43200
refresh_pattern -i \.class$ 14400 80% 43200
refresh_pattern -i \.js$ 14400 80% 43200
refresh_pattern -i \.ico$ 14400 80% 43200
refresh_pattern -i \.css$ 10 20% 4320
#----------------------------------------------------------------------
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i ( cgi-bin |\?) 0     0%      0
#refresh_pattern (Release|Package(.gz)*)$       0       20%     2880
refresh_pattern .               0       20%     4320
#----------------------------------------------------------------------
# Log de acessos por el cache o para SARG
#----------------------------------------------------------------------
logfile_rotate 7
access_log var log squid3 access.log
access_log var log squid3 error.log
cache_store_log none
#----------------------------------------------------------------------
# Otras configuraciones
#----------------------------------------------------------------------
half_closed_clients off
server_persistent_connections off
client_persistent_connections off
log_fqdn off
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 95
max_filedescriptors 65536
cache_effective_user proxy
cache_effective_group proxy
#----------------------------------------------------------------------
# Manteniendo objetos recientes y pequeños en memoria
#----------------------------------------------------------------------
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
#----------------------------------------------------------------------
# Sitios que se les niega el cache  
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$
no_cache deny nocache
#----------------------------------------------------------------------
# Negar cache para archivos con extencion .asx e .asf |streaming|
#----------------------------------------------------------------------
acl asx url_regex -i \.asx$
cache deny asx
acl asf url_regex -i \.asf$
cache deny asf
#----------------------------------------------------------------------
#Redireccionamiento Thunder - REGEx
#----------------------------------------------------------------------
acl thunder_lst url_regex -i " etc thunder thunder.lst"
cache deny thunder_lst
cache_peer 192.168.10.2 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.10.2 allow thunder_lst
cache_peer_access 192.168.10.2 deny all
#----------------------------------------------------------------------
Cita de: ingjaab en Marzo 04, 2013, 08:40:04 PM
seguro que no las optimizado , tendria que optimizarlo para que funcion bien , bueno en mi caso trabjo mejor con squid 2.7 lo veo mas robusto , es mi opinion , puede ser que otro lo guste el 3x , saludos

pd: thunder de 64 bit con squid 2,7 corre en una red de 200 usuarios  :-* y todo ok

Para todos los amigos del foro hay una forma muy facil de aumentar los threads de squid3 y aumentar las respuestas de I/O de squid al disco, es compilando las fuentes de squid3.1.20, pronto estare posteando esta configuracion para aumentar el rendimiento de squid, Saludos

maverick84

Cita de: firecold en Agosto 23, 2013, 11:55:36 AM
Para todos los amigos del foro hay una forma muy facil de aumentar los threads de squid3 y aumentar las respuestas de I/O de squid al disco, es compilando las fuentes de squid3.1.20, pronto estare posteando esta configuracion para aumentar el rendimiento de squid, Saludos


Puedes explicarme q significa este parametro

#----------------------------------------------------------------------
# Total de espacio en HD a ser usado por el cache, numero de carpetas,
# numero de subcarpetas en cache
# 100000 = 100 GB
#----------------------------------------------------------------------
cache_dir aufs  var spool squid3 cache1 100000  16 256
#---------------------------------


Si tengo un disco de 2 tb para cache q me corresponde poner??

TooR

maverick84 seria:

cache_dir aufs var spool squid3 cache1 2097152 16 256

Ese valor va en Mbytes.. Por tanto 2TB = 2048GB = 2097152MB Seria el valor exacto, tenga en cuante que al particionar el disco y formatear quedo un poco menos de 2TB.  :-*

maverick84

Cita de: firecold en Marzo 28, 2013, 08:13:53 PM
yo la tengo de esta manera, de la misma manera que tu tengo 15 megas, casi lo mismo de clientes que usted y una core2duo 2.93GHz  (2 cores), 8 de ram, disco para el sistema 320 y 1tb para el cache de raptor, en lo particular prefiero squid3, tiene muchas ventajas que no goza squid2.7, pero cada quien tiene su propia opinion, mi configuracion es esta:

#=========================== Squid3 Conf =============================#
# -----------------------------------------------------------------------------
# ACCESS CONTROLS
# -----------------------------------------------------------------------------
# Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
# -----------------------------------------------------------------------------
acl SSL_ports port 443 5222
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # Cups
acl CONNECT method CONNECT
#----------------------------------------------------------------------
acl accesototal src "/etc/squid3/accesototal.txt"
acl mired src "/etc/squid3/mired.txt"
acl webloqueadas url_regex -i "/etc/squid3/sitiosdenegados.txt"
acl magic_words1 url_regex -i 192.168.1
acl magic_words2 url_regex -i .exe .mp3 .zip .rar .avi .mpeg .mpe .mpg .wav .mov .3gp .mov .flv .mp2 .mp5 .aac .wma .ogg .mka .asf .iff .amv
#----------------------------------------------------------------------
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow manager localhost
http_access deny manager all
#----------------------------------------------------------------------
http_access deny localhost
http_access allow accesototal
http_access allow mired !webloqueadas
http_access deny all
htcp_access deny all
#----------------------------------------------------------------------
# Sitios que se les niega el cache 
#----------------------------------------------------------------------
acl nocache dstdomain .4shared.com .youtube.com .windowsupdate.com .gl$ .jw.org
no_cache deny nocache
# -----------------------------------------------------------------------------
# NETWORK OPTIONS
# -----------------------------------------------------------------------------
# Squid normally listens to port 3128
http_port 3128 intercept
# htcp_port 0
#ignore_expect_100 on
# We recommend you to use at least the following line.
# hierarchy_stoplist cgi-bin ?
# -----------------------------------------------------------------------------
# MEMORY CACHE OPTIONS
# -----------------------------------------------------------------------------
cache_mem 2048 MB
maximum_object_size_in_memory 80 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
hosts_file /etc/hosts
# -----------------------------------------------------------------------------
# DISK CACHE OPTIONS
# -----------------------------------------------------------------------------
cache_dir aufs /var/spool/squid3/cache 10000 16 256
cache_dir aufs /var/spool/squid3/cache1 10000 16 256
minimum_object_size 0 KB
maximum_object_size 200 MB
cache_swap_low 92
cache_swap_high 96
# -----------------------------------------------------------------------------
# LOGFILE OPTIONS
# -----------------------------------------------------------------------------
access_log /var/log/squid3/access.log squid
cache_store_log none
cache_log /var/log/squid3/cache.log
# client_netmask 255.255.255.0
# -----------------------------------------------------------------------------
# OPTIONS FOR TROUBLESHOOTING
# -----------------------------------------------------------------------------
coredump_dir /var/spool/squid3
# -----------------------------------------------------------------------------
# OPTIONS FOR TUNING THE CACHE
# -----------------------------------------------------------------------------
# Imagenes
refresh_pattern -i \.gif 2880 80% 4320 reload-into-ims
refresh_pattern -i \.tiff 2880 80% 4320 reload-into-ims
refresh_pattern -i \.bmp 2880 80% 4320 reload-into-ims
refresh_pattern -i \.jpeg 2880 80% 4320 reload-into-ims
refresh_pattern -i \.png 2880 80% 4320 reload-into-ims
refresh_pattern -i \.pict 1440 80% 4320 reload-into-ims
# Movies
refresh_pattern -i \.mov 14400 80% 43200
refresh_pattern -i \.mpeg 14400 80% 43200
refresh_pattern -i \.swf 2888 80% 5764 reload-into-ims
refresh_pattern -i \.flv 2888 80% 5764 reload-into-ims
# Sounds
refresh_pattern -i \.wav 14400 80% 43200
refresh_pattern -i \.mp3 28880 80% 57640
# Archives
refresh_pattern -i \.zip 14400 80% 43200
refresh_pattern -i \.hqx 14400 80% 43200
refresh_pattern -i \.exe 14400 80% 43200
refresh_pattern -i \.rar 14400 80% 43200
refresh_pattern -i \.tar 14400 80% 43200
refresh_pattern -i \.gz 14400 80% 43200
refresh_pattern -i \.z 14400 80% 43200
refresh_pattern -i \.a[0-9][0-9] 14400 80% 43200
refresh_pattern -i \.r[0-9][0-9] 14400 80% 43200
# Data files
refresh_pattern -i \.txt 14400 80% 43200
refresh_pattern -i \.pdf 14400 80% 43200
refresh_pattern -i \.doc 14400 80% 43200
refresh_pattern -i \.rtf 14400 80% 43200
refresh_pattern -i \.latex 14400 80% 43200
# Java-type objects
refresh_pattern -i \.class 14400 80% 43200
refresh_pattern -i \.js 14400 80% 43200
refresh_pattern -i \.class 14400 80% 43200
# Para evitar problemas con scripts .do
refresh_pattern -i \.do 0 0% 1440
refresh_pattern -i ^http://.*\.(css|htm|html|ico|js|jsp|xml) 1440 80% 43200 reload-into-ims
refresh_pattern -i ^http://.*\.(bmp|gif|jpeg|jpg|png) 1440 80% 43200 reload-into-ims
#Fin
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
# -----------------------------------------------------------------------------
# HTTP OPTIONS
# -----------------------------------------------------------------------------
request_header_max_size 256 KB
ie_refresh on
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
read_ahead_gap 16384 KB
negative_ttl 0 seconds
positive_dns_ttl 86400 seconds
negative_dns_ttl 1 seconds
fqdncache_size 16384
max_filedescriptors 65536
# -----------------------------------------------------------------------------
# TIMEOUTS
# -----------------------------------------------------------------------------
forward_timeout 240 seconds
connect_timeout 60 seconds
peer_connect_timeout 30 seconds
read_timeout 900 seconds
request_timeout 120 seconds
persistent_request_timeout 60 seconds
client_lifetime 60 minutes
half_closed_clients off
pconn_timeout 60 seconds
shutdown_lifetime 20 seconds
forwarded_for off
pipeline_prefetch off
# -----------------------------------------------------------------------------
# ADMINISTRATIVE PARAMETERS
# -----------------------------------------------------------------------------
# TAG: cache_mgr
cache_mgr Firecold
cache_effective_user proxy
cache_effective_group proxy
ftp_user anonymous@anonymous.com
visible_hostname proxy.os.com
dns_nameservers 127.0.0.1
dns_retransmit_interval 5 seconds
dns_timeout 2 minutes
ipcache_size 40960
ipcache_low 98
ipcache_high 99
memory_pools off
offline_mode on
reload_into_ims on
store_dir_select_algorithm round-robin
#esi_parser custom
# -----------------------------------------------------------------------------
# Qos
# -----------------------------------------------------------------------------
qos_flows local-hit=0x30
qos_flows parent-hit=0x32
qos_flows disable-preserve-miss
# -----------------------------------------------------------------------------
# DELAY POOL PARAMETERS
# -----------------------------------------------------------------------------
delay_pools 3
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow accesototal
# -----------------------------------------------------------------------------
delay_class 2 2
#-1/-1 significa que no hay limites.
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow magic_words1
# -----------------------------------------------------------------------------
delay_class 3 2
delay_parameters 3 60000/60000 60000/60000
delay_access 3 allow magic_words2
#----------------------------------------------------------------------
acl raptor_lst url_regex -i "/etc/raptor/raptor.lst"
cache deny raptor_lst
cache_peer 192.168.1.1 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 192.168.1.1 allow raptor_lst
cache_peer_access 192.168.1.1 deny all
#----------------------------------------------------------------------


Cualquier duda con la configuración, o con algún parámetro de la configuración, házmelo saber especificamente el que te cause duda, no tendre ningun problema en explicartelo, Saludos


porque tienes configurado de esta forma:

cache_dir aufs /var/spool/squid3/cache 10000 16 256
cache_dir aufs /var/spool/squid3/cache1 10000 16 256

no tendrias que poner el tamaño del disco total que tienes para cache?? no entiendo la relacion entre cache_dir y el tamaño de disco total asignado a cache que tienes (1tb)...

maverick84

Cita de: TooR en Febrero 04, 2015, 11:45:45 PM
maverick84 seria:

cache_dir aufs var spool squid3 cache1 2097152 16 256

Ese valor va en Mbytes.. Por tanto 2TB = 2048GB = 2097152MB Seria el valor exacto, tenga en cuante que al particionar el disco y formatear quedo un poco menos de 2TB.  :-*

entiendo amigo lo que me dices...configure 1.7tb ... pero no entiendo pq la mayoria de las configuraciones que encontre en este foro dejan 100gb cuando dicen que tienen 1tb de cache...creo que tengo que dejarlo tal cual viene por defecto...

TooR

Cita de: maverick84 en Febrero 08, 2015, 05:19:28 PM
entiendo amigo lo que me dices...configure 1.7tb ... pero no entiendo pq la mayoria de las configuraciones que encontre en este foro dejan 100gb cuando dicen que tienen 1tb de cache...creo que tengo que dejarlo tal cual viene por defecto...

Si ese es el valor por defecto en las instalaciones con el script de raptor.. Lo que hace es definir la cantidad de disco en MB (Mbytes) para el directorio especifico que serian 100GB... En su caso como es  2TB = 2048GB (este valor varia ya lo estoy colocando como un valor exacto a 2TB) puede dividir ese valor entre 2 daría 1024GB.. Para darle 1024GB a squid y 1024 GB a raptor mitad y mitad... entonces en squid colocaria 1048576

cache_dir aufs /var/spool/squid3/cache 1048576 16 256

Tener en cuenta que si su disco de 2TB se monta en la particion /raptorcache debería quedar así

cache_dir aufs /raptorcache/squid3/cache 1048576 16 256

De lo contrario se almacena en el disco del sistema / -----------> /var/spool/squid3/cache

OJO usted en su configuracion tiene:

cache_dir aufs /var/spool/squid3/cache 10000 16 256
cache_dir aufs /var/spool/squid3/cache1 10000 16 256


10000 = 9.7GB

Para ser 100GB el valor es 102400

Espero que me entienda  ;D

maverick84

Cita de: TooR en Febrero 08, 2015, 10:04:35 PM
Si ese es el valor por defecto en las instalaciones con el script de raptor.. Lo que hace es definir la cantidad de disco en MB (Mbytes) para el directorio especifico que serian 100GB... En su caso como es  2TB = 2048GB (este valor varia ya lo estoy colocando como un valor exacto a 2TB) puede dividir ese valor entre 2 daría 1024GB.. Para darle 1024GB a squid y 1024 GB a raptor mitad y mitad... entonces en squid colocaria 1048576

cache_dir aufs /var/spool/squid3/cache 1048576 16 256

Tener en cuenta que si su disco de 2TB se monta en la particion /raptorcache debería quedar así

cache_dir aufs /raptorcache/squid3/cache 1048576 16 256

De lo contrario se almacena en el disco del sistema / -----------> /var/spool/squid3/cache

Y el parametro cache mem en cuanto quedaría? Si tengo 8/gb de RAM en el Server total?

OJO usted en su configuracion tiene:

cache_dir aufs /var/spool/squid3/cache 10000 16 256
cache_dir aufs /var/spool/squid3/cache1 10000 16 256


10000 = 9.7GB

Para ser 100GB el valor es 102400

Espero que me entienda  ;D


Y el caché mem cuanto quedaría como recomendado si tengoconfiguro :
cache_dir aufs /var/spool/squid3/cache 1048576 16 256

Tengo 8 gb de RAM en el seevidor
Gracias

TooR

maverick84, pruebalo asi:

cache_dir aufs /var/spool/squid3/cache 93000 189 256
cache_dir aufs /var/spool/squid3/cache1 93000 189 256
cache_dir aufs /var/spool/squid3/cache2 93000 189 256


cache_mem 2800 MB

A ver que tal te va  :-*

maverick84

Cita de: TooR en Febrero 09, 2015, 06:13:03 AM
maverick84, pruebalo asi:

cache_dir aufs /var/spool/squid3/cache 93000 189 256
cache_dir aufs /var/spool/squid3/cache1 93000 189 256
cache_dir aufs /var/spool/squid3/cache2 93000 189 256


cache_mem 2800 MB

A ver que tal te va  :-*

voy a probar asi.... tengo que crear previamente las carpetas /var/spool/squid3/cache, /var/spool/squid3/cache1 y /var/spool/squid3/cache2 ??

que ventaja tiene esta creacion extra de  cache_dir...??

firecold

Cita de: maverick84 en Febrero 09, 2015, 08:56:05 AM
voy a probar asi.... tengo que crear previamente las carpetas /var/spool/squid3/cache, /var/spool/squid3/cache1 y /var/spool/squid3/cache2 ??

que ventaja tiene esta creacion extra de  cache_dir...??
Cita de: TooR en Febrero 09, 2015, 06:13:03 AM
maverick84, pruebalo asi:

cache_dir aufs /var/spool/squid3/cache 93000 189 256
cache_dir aufs /var/spool/squid3/cache1 93000 189 256
cache_dir aufs /var/spool/squid3/cache2 93000 189 256


cache_mem 2800 MB

A ver que tal te va  :-*

Les comento mis amigos, la primera no es bueno tener un cache de squid tan grande y menos de mas de 50GB, ya que entre mas cache tengas mas memoria RAM necesitas, la otra es muy buena idea tener varios caches pero igual tendrias que tener suficiente memoria RAM, ya que acuerdense que por cada 1GB de cache se mecesita por lo menos en aufs 10 a 15 MB de ram, Saludos