Problema resolvido nada!!! :(

j� tirei at� o Memory Disk e meu proxy continua travando... a� v�o o meu
squid.conf e as op��es que eu tenho compiladas a mais no kernel:
PS: Agora o proxy simplesmente reinicia e n�o vejo anormal nos logs...

squid.conf:
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_dir diskd /var/squid/cache0 100 16 256
cache_dir diskd /var/squid/cache1 100 16 256
cache_dir diskd /var/squid/cache2 100 16 256
cache_dir diskd /var/squid/cache3 100 16 256
cache_dir diskd /var/squid/cache4 100 16 256
cache_dir diskd /var/squid/cache5 100 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
pid_filename /var/log/squid/squid.pid
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
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 563
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr [EMAIL PROTECTED]
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
error_directory /usr/local/etc/squid/errors/Portuguese
coredump_dir /usr/local/squid/cache

KERNEL:
options         IPFIREWALL
options         IPFW2
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_FORWARD
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT
options         DUMMYNET
options         MSGMNB=16384       
options         MSGMNI=41          
options         MSGSEG=2049        
options         MSGSSZ=64          
options         MSGTQL=512         
options         SHMSEG=16          
options         SHMMNI=32          
options         SHMMAX=2097152     
options         SHMALL=4096        

Argh, esse proxy... :P

Abra�os,

---
Felipe Neuwald
[EMAIL PROTECTED]
Rudah On-Line SysAdm



On Thu, 10 Jul 2003 10:26:10 -0300, Felipe Neuwald wrote
> Companheirada,
> 
> aparentemente, problema solucionado. :)
> 
> Depois de testes e testes, posso dizer que a �nica altera��o que 
> houve para o squid funcionar perfeitamente em modo transparente com 
> o FreeBSD 4.8-Stable, com o cache em mem�ria RAM, foi compil�-lo com 
> a op��o --enable-dlmalloc. Para quem quiser testar ou colocar em 
> pr�tica, � s� descomentar a linha que fala sobre esta op��o no 
> Makefile do squid, em /usr/ports/www/squid. N�o foi nem necess�rio a 
> utiliza��o de diskd, continuo utilizando ufs sem problema algum.
> 
> Em breve estarei disponibilizando alguma documenta��o sobre os procedimentos
> tomados para adotar esta solu��o. Nada mais do que uma compila��o do 
> que foi realizado e do que foi discutido aqui na lista.
> 
> N�o posso esque�er de agradecer � todos aqui da lista e em especial 
> ao Ricardo Nascimento, do ITI, na qual sem a ajuda do mesmo este 
> "pequeno grande problema" demoraria com certeza um bom "pouc�o" mais 
> pra ser resolvido. :)
> 
> Um grande abra�o,
> 
> ---
> Felipe Neuwald
> [EMAIL PROTECTED]
> Rudah On-Line SysAdm
> 
> On Wed, 02 Jul 2003 16:54:13 -0300, Fabio Yasusi Yamamoto wrote
> > Apele :)
> > 
> > de um strace -f squid 2>arquivo.log
> > 
> > e manda os ultimos 4k
> > 
> > >Hail Friendz,
> > >
> > >o arquivo est� l�...
> > >
> > >-bash-2.05b$ pwd
> > >/usr/local/etc/squid/errors/Portuguese
> > >-bash-2.05b$ ls -la ERR_READ_TIMEOUT
> > >-r--r--r--  1 root  wheel  883 Jun 13 16:11 ERR_READ_TIMEOUT
> > >-bash-2.05b$ cat ERR_READ_TIMEOUT
> > ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > >"http://www.w3.org/TR/html4/loose.dtd";>
> > ><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> > >charset=iso-8859-1">
> > ><TITLE>ERRO: A URL solicitada n&atilde;o pode ser acessada</TITLE>
> > ><STYLE
> >
>
>type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
> > ></HEAD><BODY>
> > ><H1>ERRO</H1>
> > ><H2>A URL solicitada n&atilde;o pode ser acessada</H2>
> > ><HR noshade size="1px">
> > ><P>
> > >
> > >Na tentativa de acessar a URL:
> > ><A HREF="%U">%U</A>
> > ><P>
> > >O seguinte erro foi encontrado:
> > >
> > ><UL>
> > ><LI>
> > ><STRONG>
> > >Excedeu o tempo limite para leitura (timeout)
> > ></STRONG>
> > ></UL>
> > >
> > ><P>
> > >O sistema retornou:
> > ><PRE><I>    %E</I></PRE>
> > >
> > ><P>
> > >Excedeu o tempo limite enquanto esperava para ler dados na rede. A rede ou
> > >servidor
> > >pode estar indispon&iacute;vel ou congestionado. Por favor tente novamente.
> > ></P>
> > >-bash-2.05b$
> > >
> > >
> > >
> > >On Mon, 30 Jun 2003 20:38:17 -0300, Ricardo Ryoiti S. Junior wrote
> > >  
> > >
> > >>Felipe Neuwald wrote:
> > >>
> > >>    
> > >>
> > >>>http://angelina.rudah.com.br/cache.log .
> > >>>
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>    Felipe,
> > >>
> > >>    Seu problema est� bem explicito nos logs:
> > >>
> > >>2003/06/13 15:19:53| errorTryLoadText: 
> > >>'/usr/local/etc/squid/errors/Portuguese/ERR_READ_TIMEOUT': (2) No 
> > >>such file or directory
> > >>2003/06/13 15:19:53| errorTryLoadText: 
> > >>'/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No such file or
directory
> > >>FATAL: failed to find or read error text file.
> > >>Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
> > >>
> > >>    Coloque os arquivos de erro l� corretamente e de estar tudo 
> > >>resolvido :-)))
> > >>
> > >>    []s
> > >>    Ricardp.
> > >>
> > >>_______________________________________________________________
> > >>Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > >>Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
> > >>    
> > >>
> > >
> > >
> > >
> > >---
> > >Felipe Neuwald
> > >[EMAIL PROTECTED]
> > >Rudah On-Line SysAdm
> > >_______________________________________________________________
> > >Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > >Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
> > >
> > >
> > >  
> > >
> > 
> > _______________________________________________________________
> > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
> 
> _______________________________________________________________
> Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a