Problema squid y bfwcache 2.0  [INACTIVE]

Foro en español para discutir sobre cuestiones generales de BrazilFW 3.x.

Problema squid y bfwcache 2.0

Mensagempor Eddy_vcp » Qua Abr 08, 2015 10:56 pm

Hola Amigos:

Tengo un server con 3.0.260. Uso subredes.

A) Habilite para poder usar el cache de disco el cual esta trabajando mas no cachea nada.
B) Instale o creo que lo hice el BFWcache 2.0. Pero no me aparece la opción para ver los informes como expresa este post http://www.brazilfw.com.br/forum/viewtopic.php?f=58&t=80719
C) Al no poder solucionar lo anterior busque actualizaciones y lo hice a la versión 3.0.261.rc4, sin ningún cambio visible con mi problema.

El mysql está operativo. Todos navegan correctamente.

Todo esto se deberá a que uso subredes? Deberé configurar algo extra por ello?

LA verdad es que necesito solucionar esto para que la red sea mas eficiente.
Agradeceré cualquier ayuda, muchas gracias

Edgardo
------------------------
2015/04/08 20:19:48| Reconfiguring Squid Cache (version 3.1.23)...
2015/04/08 20:19:48| FD 10 Closing HTTP connection
2015/04/08 20:19:48| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0)
2015/04/08 20:19:48| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:48| WARNING: use of 'ignore-reload' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:48| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:48| Initializing https proxy context
2015/04/08 20:19:48| Squid plugin modules loaded: 0
2015/04/08 20:19:48| Store logging disabled
2015/04/08 20:19:48| DNS Socket created at 0.0.0.0, FD 8
2015/04/08 20:19:48| Adding domain brazilfw.local from /etc/resolv.conf
2015/04/08 20:19:48| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2015/04/08 20:19:48| Accepting HTTP connections at 0.0.0.0:3128, FD 10.
2015/04/08 20:19:48| HTCP Disabled.
2015/04/08 20:19:48| Loaded Icons.
2015/04/08 20:19:48| Ready to serve requests.
2015/04/08 20:19:49| Reconfiguring Squid Cache (version 3.1.23)...
2015/04/08 20:19:49| FD 10 Closing HTTP connection
2015/04/08 20:19:49| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0)
2015/04/08 20:19:49| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:49| WARNING: use of 'ignore-reload' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:49| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
2015/04/08 20:19:49| Initializing https proxy context
2015/04/08 20:19:49| Squid plugin modules loaded: 0
2015/04/08 20:19:49| Store logging disabled
2015/04/08 20:19:49| DNS Socket created at 0.0.0.0, FD 8
2015/04/08 20:19:49| Adding domain brazilfw.local from /etc/resolv.conf
2015/04/08 20:19:49| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2015/04/08 20:19:49| Accepting HTTP connections at 0.0.0.0:3128, FD 10.
2015/04/08 20:19:49| HTCP Disabled.
2015/04/08 20:19:49| Configuring Parent 127.0.0.1/8080/0
2015/04/08 20:19:49| Loaded Icons.
2015/04/08 20:19:49| Ready to serve requests.
2015/04/08 22:48:27| Reconfiguring Squid Cache (version 3.1.23)...
2015/04/08 22:48:27| FD 10 Closing HTTP connection
2015/04/08 22:48:27| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0)
2015/04/08 22:48:27| WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP
2015/04/08 22:48:27| WARNING: use of 'ignore-reload' in 'refresh_pattern' violates HTTP
2015/04/08 22:48:27| WARNING: use of 'ignore-no-cache' in 'refresh_pattern' violates HTTP
2015/04/08 22:48:27| Initializing https proxy context
2015/04/08 22:48:27| Squid plugin modules loaded: 0
2015/04/08 22:48:27| Store logging disabled
2015/04/08 22:48:27| DNS Socket created at 0.0.0.0, FD 8
2015/04/08 22:48:27| Adding domain brazilfw.local from /etc/resolv.conf
2015/04/08 22:48:27| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2015/04/08 22:48:27| Accepting HTTP connections at 0.0.0.0:3128, FD 10.
2015/04/08 22:48:27| HTCP Disabled.
2015/04/08 22:48:27| Configuring Parent 127.0.0.1/8080/0
2015/04/08 22:48:27| Loaded Icons.
2015/04/08 22:48:27| Ready to serve requests.


--------------------------------------------------------------------------------------
SQUID

http_port 3128

refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320 override-lastmod ignore-reload ignore-no-cache
acl browser_detect req_header Accept-Language [a-zA-Z;]
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl_uses_indirect_client off
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl bfwcache_lst url_regex -i "/etc/brazilfw/bfwcache/bfwcache.acl"
never_direct allow bfwcache_lst
cache deny bfwcache_lst
cache_peer 127.0.0.1 parent 8080 0 proxy-only no-digest
dead_peer_timeout 2 seconds
cache_peer_access 127.0.0.1 allow bfwcache_lst
cache_peer_access 127.0.0.1 deny all
http_access allow all
visible_hostname brazilfw
cache_dir aufs /partition/squid/cache 50000 119 256
coredump_dir /partition/squid/cache
access_log /partition/squid/logs/access.log
cache_store_log none
cache_log /partition/squid/logs/cache.log
pid_filename /var/run/squid.pid
cache_mem 16 MB
maximum_object_size 26000 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 256 KB
cache_replacement_policy heap LFUDA
half_closed_clients on
server_persistent_connections off
qos_flows local-hit=0x30
------------------------------------------------------------------------------------------------------------
Avatar do usuário
Eddy_vcp
BFW Curious
 
Mensagens: 29
Registrado em: Seg Jun 30, 2008 4:28 pm
BrazilFW Box:

Re: Problema squid y bfwcache 2.0

Mensagempor Eddy_vcp » Qui Abr 09, 2015 9:39 am

Hola.

Me acabo de dar cuenta que desde que activé el squid e instalé el bfwcache ya no me grafican los usuarios en el bandwith.
ufff. se va complicando.

grs....
Avatar do usuário
Eddy_vcp
BFW Curious
 
Mensagens: 29
Registrado em: Seg Jun 30, 2008 4:28 pm
BrazilFW Box:

Re: Problema squid y bfwcache 2.0

Mensagempor Eddy_vcp » Sáb Abr 25, 2015 11:13 am

Ninguna sugerencia de los que saben mas que uno?
Grs.....
Avatar do usuário
Eddy_vcp
BFW Curious
 
Mensagens: 29
Registrado em: Seg Jun 30, 2008 4:28 pm
BrazilFW Box:

Re: Problema squid y bfwcache 2.0

Mensagempor expertinfo » Sáb Abr 25, 2015 12:35 pm

Eddy_vcp escreveu:Ninguna sugerencia de los que saben mas que uno?
Grs.....

Testa este Squid, está estável e vai resolver seu problema. :o!
Squid 3.4.12: http://www.brazilfw.com.br/forum/viewtopic.php?f=57&t=91493
Avatar do usuário
expertinfo
BFW Add-on Developer
BFW Squid 3.5.x
BFW Beneméritos
BFW Manager
 
Mensagens: 1507
Registrado em: Ter Jun 19, 2012 12:15 pm
Localização: Caruaru - PE
BrazilFW Box: Máquina Virtual
CPU: Intel Core I7 4790K
Quantidade de Mémoria 10 GB / 1 Link Oi Fibra 200/15 Mega
BFW 3.0.262 x64
Serviços Ativos: MySql
Addons: Squid 3.5.28

Re: Problema squid y bfwcache 2.0

Mensagempor Eddy_vcp » Ter Abr 28, 2015 5:01 pm

Hola Expertinfo.

Gracias por la sugerencia pero no funcionó tampoco. Lo instala pero no cachea nada. Tampoco funciona el bandwidthd.
Creo que deberé reinstalar todo desde cero.

Grs... edgardo
Avatar do usuário
Eddy_vcp
BFW Curious
 
Mensagens: 29
Registrado em: Seg Jun 30, 2008 4:28 pm
BrazilFW Box:


Voltar para BrazilFW 3.x

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 38 visitantes