marcelll0
(usa Slackware)
Enviado em 05/03/2013 - 10:06h
jhonesdb escreveu:
marcelll0 escreveu:
Boa noite pessoALL
Tenho um squid rodando, no slackware, em uma partição de 1.2T só pra cache, mas quando essa partição chega as 39GB o squid para de responder as requisições, o squid continua rodando, mas ninguem navega.
Esta acontecendo isso em outro servidor tb, mas só que esse tem 500GB pro cache do squid e nos mesmos 39GB ninguem navega mais.
Ja troquei de versão e continua dando esse problema.
Alguém ja passou por isso?
Grato
Marcelll0
Posta seu squid.conf.
me perdoa jhoesdb
esta ai
=======================================================
# 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
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 CONNECT method CONNECT
acl alunos src 10.0.0.0/24 # Rede Alunos
acl professores src 192.168.1.0/24 # Rede professores
acl blokeia url_regex -i "/usr/local/squid/etc/blokeia.txt"
acl desblokeia url_regex -i "/usr/local/squid/etc/desblokeia.txt"
http_access allow manager localhost
http_access deny manager
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
http_access allow professores
http_access deny blokeia !desblokeia
http_access allow alunos
# And finally deny all other access to this proxy
http_access deny all
http_port 10.0.0.1:3128 transparent
http_port 192.168.1.1:3128 transparent
cache_mem 2048 MB
maximum_object_size_in_memory 512 KB
cache_dir ufs /var/log/squid/logs/cache 1000000 64 1024
minimum_object_size 0 KB
maximum_object_size 500 MB
cache_swap_low 90
cache_swap_high 95
access_log /var/log/squid/logs/access.log squid
cache_store_log /var/log/squid/logs/store.log
client_netmask 255.255.255.0
cache_log /var/log/squid/logs/cache.log
coredump_dir /usr/local/squid/var/cache
# Add any of your own refresh_pattern entries above these.
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
# CACHE WINDOWS UPDATE
refresh_pattern windowsupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern update.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern
www.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
cache_effective_user squid
cache_effective_group squid
visible_hostname Tomahawk
# Possui 2 controles de banda
delay_pools 2
# Primeiro controle
delay_class 1 2
# Limite de 3 Gbps - Professores
delay_parameters 1 393216/393216 393216/393216
delay_access 1 allow professores
# Segundo controle
delay_class 2 2
# Limite de 1 Gbps - Alunos
delay_parameters 2 131072/131072 131072/131072
delay_access 2 allow alunos
error_directory /usr/local/squid/share/errors/pt-br
dns_nameservers 10.0.0.1
=======================================================
sinceramente nao sei onde mexe mais
qualquer ajuda será bem vinda
Grato
Marcelll0