Sugeria divide isso em 4 partes. asssim.

cache_dir ufs /cache/hd1 5000 128 512
cache_dir ufs /cache/hd2 5000 128 512
cache_dir ufs /cache/hd3 5000 128 512
cache_dir ufs /cache/hd4 5000 128 512


2008/5/6 Tux Wi-FI <[EMAIL PROTECTED]>:

>   Saudações,
>
> Estou implementando um Squid Proxy Cache, em um Dual Core 2 Duo, com
> 4GB de RAM, HD de 360GB.
>
> Estou usando o Debian Etch4, Kernel 2.6.18 e o Squid 2.6.5.
>
> Não consegui configurar o Squid a contento. Verificando os Logs,
> percebi que está tendo muito RELEASE -1 FFFFFFFF(store.log)
>
> Segue abaixo como está minha configuraçao. Se alguém puder me dar uma
> luz, agradeceria muiiiito...
>
> http_port 3128 transparent tproxy
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> cache deny QUERY
> acl apache rep_header Server ^Apache
> broken_vary_encoding allow apache
> cache_mem 1024 MB
> maximum_object_size 256 MB
> minimum_object_size 0 KB
> maximum_object_size_in_memory 512 KB
> ipcache_size 1024
> ipcache_low 90
> ipcache_high 95
> cache_replacement_policy heap
> memory_replacement_policy heap
> cache_dir ufs /cache/hd1 20000 16 256
> cache_dir ufs /cache/hd2 20000 16 256
> access_log /usr/local/squid/var/logs/access.log squid
>
> refresh_pattern ^http:// 30 40% 20160
> refresh_pattern ^ftp:// 30 50% 20160
> refresh_pattern ^gopher:// 30 40% 20160
> refresh_pattern . 1440 100% 1440 ignore-reload override-lastmod
> override-expire reload-into-ims
> refresh_pattern -i exe$ 0 50% 999999
> refresh_pattern -i zip$ 0 50% 999999
> refresh_pattern -i flv$ 0 50% 999999 ignore-reload override-lastmod
> override-expire reload-into-ims
> refresh_pattern -i swf$ 0 50% 999999 ignore-reload override-lastmod
> override-expire reload-into-ims
> refresh_pattern -i cab$ 0 50% 999999 ignore-reload override-lastmod
> override-expire reload-into-ims
> refresh_pattern -i rar$ 0 50% 999999 ignore-reload override-lastmod
> override-expire reload-into-ims
>
> acl all src 0.0.0.0/0.0.0.0
> 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
> acl CONNECT method CONNECT
>
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
>
> acl spyware url_regex "/usr/local/squid/etc/blacklistspy.txt"
> http_access deny spyware
>
> acl rede-clientes src 200.200.200.0/24
> http_access allow rede-clientes
>
> http_access deny all
> http_reply_access allow all
> icp_access allow all
>
> tcp_outgoing_address 200.200.200.3
>
> cache_effective_user proxy
> visible_hostname srv-proxy
>
> logfile_rotate 10
>
> --
> []´s
>
> Wederson Rodrigues .'.
>  
>



-- 
Anderson Raimundo
Analista de Suporte
+55 (71) 8178-5378
Academy Connection ID : 5111570

Responder a