Olá Amigos,
Estou com um problema de lentidão quando destino meu trafego web pelo proxy, quando tiro do proxy volta ao normal. Estou mandando meu squid.conf pra que
vocês analisem e veja se há algo de errado. Não há problema no disco rígido e tenho 1 GB de memoria pra o firewall , servidor web , ftp e squid, apenas estes
serviços. Desde já agradeço.
visible_hostname proxy.com
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 256 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 10000 KB
minimum_object_size 0 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_dir diskd /mnt/cache1 3000 16 256 Q1=64 Q2=72
cache_dir diskd /mnt/cache2 3000 16 256 Q1=64 Q2=72
cache_dir diskd /mnt/cache3 3000 16 256 Q1=64 Q2=72
diskd_program /usr/libexec/diskd
unlinkd_program /usr/libexec/unlinkd
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 SSL_ports port 443 563
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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow all
http_access deny all
icp_access allow all
icp_access deny all
miss_access allow all
miss_access deny all
cache_effective_user nobody
cache_effective_group nobody
cache_mgr
[email protected]
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on