|
aumenta a oção cache_mem
eu tenho 512 MB
de ram e uso 256 nessa opção
----- Original Message -----
Sent: Friday, December 09, 2005 10:55
AM
Subject: [squid-br] squid 3.0
e awe galera.... uso o squid 3.0, em uma máquina pentium 4
3.0GHz, 1 GB memória.......... to com um problema aqui e to quebrando
a kbça ...............aqui à baixo esta o meu
squid.conf
#httpd_accel_host virtual #httpd_accel_port
80 #httpd_accel_with_proxy on #httpd_accel_uses_host_header
on
cache_mem 2 MB cache_swap_low 90 cache_swap_high
95 maximum_object_size 20000 KB cache_dir ufs /usr/local/squid/var/cache
2560 16 256 cache_access_log
/usr/local/squid/var/logs/access.log cache_log
/usr/local/squid/var/logs/cache.log cache_store_log
/usr/local/squid/var/logs/store.log
mime_table
/usr/local/squid/etc/mime.conf
pid_filename
/var/run/squid.pid
hierarchy_stoplist cgi-bin ? acl QUERY
urlpath_regex cgi-bin \? auth_param basic program /usr/lib/squid/ncsa_auth
/usr/local/squid/etc/squid_passwd auth_param basic children 5 auth_param
basic realm ENTRE COM SEU LOGIN E SENHA, ESTE SERVIÇO É UM PRIVILÉGIO E NÃO UM
DIREITO, PORTANTO USE-O COM RESPONSABILIDADE acl autenticados proxy_auth
REQUIRED #auth_param basic credentialsttl 2 hours #auth_param basic
casesensitive off
refresh_pattern
^ftp: 1440
20% 10080 refresh_pattern ^gopher:
1440 0% 1440 refresh_pattern
. 0
20% 4320
negative_ttl 1 minute positive_dns_ttl 1
hour negative_dns_ttl 1 minute
acl all src 0.0.0.0/0.0.0.0 acl rede2 src 192.168.2.0/255.255.255.0 acl
rede3 src 192.168.3.0/255.255.255.0 acl
rede10 src 192.168.10.0/255.255.255.0 acl
linux src 192.168.2.95 acl redeserver dst
192.168.2.0/255.255.255.0 127.0.0.0/255.255.255.255 acl
groupadm proxy_auth "/usr/local/squid/etc/groupadm" acl groupzebedeu
proxy_auth "/usr/local/squid/etc/groupzebedeu" 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 444 563 4444 4435 acl Safe_ports port 80 21 443 444 563 70 210
1025-65535 acl Safe_ports port 280 acl Safe_ports port 488 acl
Safe_ports port 591 acl Safe_ports port 777 acl Safe_ports port
81 acl Safe_ports port 121 #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 site.liberado url_regex
"/usr/local/squid/etc/blocks/site.liberado.txt" acl porn.block url_regex
"/usr/local/squid/etc/blocks/porn.block.txt" acl porn.unblock url_regex
"/usr/local/squid/etc/blocks/porn.unblock.txt" acl badlang.block url_regex
"/usr/local/squid/etc/blocks/badlang.block.txt" acl badlang.unblock
url_regex "/usr/local/squid/etc/blocks/badlang.unblock.txt" acl
entertain.block url_regex
"/usr/local/squid/etc/blocks/entertain.block.txt acl entertain.unblock
url_regex "/usr/local/squid/etc/blocks/entertain.unblock.txt" acl
games.block url_regex "/usr/local/squid/etc/blocks/games.block.txt" acl
games.unblock url_regex "/usr/local/squid/etc/blocks/games.unblock.txt" acl
mp3.block url_regex "/usr/local/squid/etc/blocks/mp3.block.txt" acl
pirate.block url_regex "/usr/local/squid/etc/blocks/pirate.block.txt acl
pirate.unblock url_regex
"/usr/local/squid/etc/blocks/pirate.unblock.txt" acl bloqueios_url
url_regex "/usr/local/squid/etc/bloqueios_url" acl liberados_url url_regex
"/usr/local/squid/etc/liberados_url"
#http_access allow
site.liberado #http_access allow linux http_access allow
groupadm http_access deny bloqueios_url !liberados_url http_access deny
porn.block !porn.unblock http_access deny badlang.block
!badlang.unblock http_access deny entertain.block
!entertain.unblock http_access deny games.block
!games.unblock http_access deny mp3.block http_access deny pirate.block
!pirate.unblock http_access allow groupzebedeu http_access allow
autenticados
http_access allow manager localhost http_access deny
manager http_access deny !Safe_ports http_access deny CONNECT
!SSL_ports
http_access allow localhost redeserver http_access allow
rede2 all http_access allow rede3 all http_access allow rede10
all http_access deny all
miss_access allow all miss_access allow
rede2 miss_access allow rede3 miss_access allow rede10
cache_mgr
[EMAIL PROTECTED]
cache_effective_user
proxy cache_effective_group proxy
forwarded_for
on
icon_directory /usr/local/squid/share/icons error_directory
//usr/local/squid/share/errors/Portuguese #http_reply_access allow
all icp_access allow all coredump_dir /var/cache/squid
e toda vez
que tento iniciar o squid me vem esse erro:::::::
[EMAIL PROTECTED] init.d]#
./squid start 2005/12/09 08:59:25| Memory pools are 'off'; limit: 2.00
MB Abortado [EMAIL PROTECTED] init.d]#
já tentei colocar essas linhas
aqui ... #memory_pools on #memory_pools_limit 20000 KB
mas mesmo
assim ele dah o mesmo erro..... se alguém puder me ajudar, eu
agradeço...... vlw
Enviar mensagem: [email protected]
Assinar: [EMAIL PROTECTED]
Cancelar assinatura: [EMAIL PROTECTED]
Proprietário da lista: [EMAIL PROTECTED]
http://www.penguintech.com.br Penguin Tech - Solucoes LINUX.
| Yahoo! Grupos, um serviço oferecido por: |
PUBLICIDADE
![]() |
|
Links do Yahoo! Grupos
|