Pessoal to usando esse squid.conf num conectiva 8 amd
950, 1gb RAM, HD 40 gb seagate. S� que depois que o
n�mero de usuarios chego a 50 - 60 na rede, o squid
come�ou a ficar com um delay para abrir p�gians de 10
segundos mais ou menos.
Se algu�m poder dar uma ajuda a� e ver se tem alguma
coisa nele que possa acelerar a config ou algum erro.
A m�quina n�o e s� proxy tem named, firewall - nat,
cbq, mas mesmo colocando 1 giga de ram ainda n�o
consegui fazer rodar legal.
Quando retiro o squid roda tudo normal !!

Squid.conf
-----------------------------

http_port 3128

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 64  MB

cache_swap_low 90
cache_swap_high 95

maximum_object_size 1096 KB

minimum_object_size 0 KB

maximum_object_size_in_memory 8 KB

cache_dir ufs /var/cache/squid 4000 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

debug_options ALL,1

#Recommended minimum configuration:
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 CONNECT method CONNECT
acl rede_interna src 10.0.0.0
acl proibir_ip src 10.9.0.2

# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#acl pra sites direto, n�o passar pelo cache
acl NOCACHE url_regex "/etc/squid/direto.txt" \?
no_cache deny NOCACHE
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM
YOUR CLIENTS
#
# And finally deny all other access to this proxy

http_access deny proibir_ip
http_access allow rede_interna
http_access deny all

cache_effective_user proxy
cache_effective_group proxy

httpd_accel_host virtual
httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

logfile_rotate 7

-----------------------------------------

Robson.



        
        
                
_______________________________________________________ 
Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis. Instale o discador agora! 
http://br.acesso.yahoo.com/
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a