lusca travando apos um tempo!
Olha, agrdeço de mais esse forum, o pessoal sempre ta ajudando demais, e preciso de mais uma coisinha hoje,tenhu um servidor proxy com lusca-cache+thunder3 no slack, funcionado , mais ele dá esse erro
Código :
2011/03/17 03:59:18| clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: (92) Protocol not available
mesmo dando esse erro funciona so que depois de um tempo ele trava totalmente,não mais o que fazer para resolver isso,:shot:
aqui está minha squid.conf
Código :
http_port 3128 transparent
icp_port 0
cache_replacement_policy heap LFUDA
cache_dir aufs /var/cache/squid/01 20000 16 256
memory_replacement_policy heap GDSF
cache_mem 128 MB
maximum_object_size 256 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 256 KB
cache_swap_low 90
cache_swap_high 95
ipcache_size 1024
fqdncache_size 1024
#
# Configuração proxy estática ------------------------------------------
#
#Banner do google
acl Google url_regex -i http://www.google.com.br/intl/en_com/images/srpr/logo1w.png
http_access deny Google
deny_info http://172.31.255.4/banner/google.jpg Google
#Banner do Orkut
acl ork.users url_regex -i ork.users
http_access deny ork.users
deny_info http://172.31.255.4/banner/orkut.jpg ork.users
#Banner do msn
#acl ADSAdClien url_regex -i ADSAdClien
#http_access deny ADSAdClien
#deny_info http://172.31.255.4/banner/msn.jpg ADSAdClien
ipcache_low 90
ipcache_high 95
#hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
mime_table /etc/squid/mime.conf
pid_filename /var/run/proxy.pid
debug_options ALL,1
log_fqdn off
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 0.0.0.0/0
acl redeinterna src 172.16.0.0/12
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 82
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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
#=========================================================#
# Thunder 3
#=========================================================#
acl thunder_lst url_regex -i "/etc/thunder/thunder.lst"
cache deny thunder_lst
cache_peer 172.31.255.2 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 172.31.255.2 allow thunder_lst
cache_peer_access 172.31.255.2 deny all
http_access allow manager localhost
http_access allow redeinterna
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
cache_mgr localhost
cache_effective_user squid
cache_effective_group squid
visible_hostname localhost
dns_testnames registro.br
#acl snmppublic snmp_community public
#snmp_access allow snmppublic localhost
#snmp_access deny all
#snmp_incoming_address 0.0.0.0
#snmp_outgoing_address 255.255.255.255
# Configuraçao de LOG
cache_log none
cache_store_log none
# Sem log de acesso
#cache_access_log /var/log/squid/access.log
cache_access_log none
# Setar TOS 8 em pacotes IP de arquivos em cache
zph_mode tos
zph_local 0x08
zph_parent 0
zph_option 136
visible_hostname localhost
cache_mgr localhost
mime_table /etc/squid/mime.conf
pid_filename /var/run/proxy.pid
cache_effective_user squid
cache_effective_group squid
Desde já agradeço a todos !!:rock:
Re: lusca travando apos um tempo!
Vou dar uma sugestão, mais não tenho certeza, lembro uma vez de um erro parecido, no squid, tente compilar novamente sem a opção --linux-netfilter.
Re: lusca travando apos um tempo!
cara fiz o que você disse agora ta dando isso aqui
Citação:
2011/03/19 02:45:47| Failed to parse request headers:
Sign In
Host: sn129w.snt129.mail.live.com
Connection: keep-alive
Referer:
Sign In
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.133 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: mkt0=pt-BR; format_name67257Counter=0; format_name67257SinceDate=Tue 14 Dec 2010 18:31:08 GMT; format_name67257LastPrint=Tue 14 Dec 2010 18:31:08 GMT; format_name_count_67257Counter=0; format_name_c@
Re: lusca travando apos um tempo!
Esse erro ai está no cache.log?
Re: lusca travando apos um tempo!
não, no proprio linux mesmo!