Cleverson

Vamos lá:
Qual o servidor de DNS da sua rede?

Você já tentou utilizar essa feature:
# dns_nameservers 201.10.120.3 201.10.128.3 ? 
Coloca os IPs do opendns (208.67.222.222) e do google (8.8.8.8)

Essa parte do log para estar fazendo usar esses DNSs:
2010/06/24 14:08:36| Adding nameserver 192.168.1.254 from Registry
2010/06/24 14:08:36| Adding DHCP nameserver 192.168.254.254 from Registry
2010/06/24 14:08:36| Adding DHCP nameserver 192.168.254.254 from Registry

Bom a outra ideia que tenho é subir uma VM com o VMware Server nessa máquina 
mesmo... e instala um ubuntu ou debian ou qualquer outra distribuição que vc se 
familiarize e instale o squid em 5 passos rs ... Posta ai as respostas...

Abração ... 
Filipi Silva

--- Em [email protected], <cleverso...@...> escreveu
>
> Filipi Silva, Bão de Mais, Espero que sim.
> 
>  
> 
> Cara não consegui resolver não e postei meu config e as ultimas linhas do
> log. Assim agora estou preparando a maquina com o Windows 2003 so como
> sistema operacional para ver oq pode acontecer pois já no XP já ate
> atualizei para a versão 2.7 do squid. Segue ai abaixo meu config e as
> ultimas linhas do log, mas percebi que quando internet para esta neste erro
> do log 
> 
>  
> 
> 2010/06/24 14:08:37|   store_swap_size = 22156k
> 
> 2010/06/24 14:08:37| storeLateRelease: released 0 objects
> 
> 2010/06/24 16:03:46| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 16:12:00| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 16:23:35| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:53| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:53| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:58| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
>  
> 
>  
> 
>  
> 
> http_port 3128
> 
>  
> 
> visible_hostname EMPRESTIMOFACIL.LOCAL
> 
>  
> 
> hierarchy_stoplist cgi-bin ?
> 
> acl QUERY urlpath_regex cgi-bin \?
> 
> cache deny QUERY
> 
> acl apache rep_header Server ^Apache
> 
> broken_vary_encoding allow apache
> 
>  
> 
> cache_mem 256 MB
> 
>  
> 
> cache_swap_low 90
> 
> cache_swap_high 93
> 
>  
> 
> maximum_object_size 6144 KB
> 
> minimum_object_size 0 KB
> 
>  
> 
> maximum_object_size_in_memory 100 KB
> 
>  
> 
> ipcache_size 1024
> 
> ipcache_low 90
> 
> ipcache_high 93
> 
>  
> 
> cache_replacement_policy lru
> 
> memory_replacement_policy lru
> 
>  
> 
> cache_dir ufs      c:/Squid/var/cache 100000 16 256
> 
> access_log         c:/Squid/var/logs/access.log squid
> 
> cache_log          c:/Squid/var/logs/cache.log
> 
> cache_store_log    c:/Squid/var/logs/store.log
> 
> mime_table         c:/Squid/etc/mime.conf
> 
> pid_filename       c:/Squid/var/logs/squid.pid
> 
> unlinkd_program    c:/Squid/libexec/unlinkd.exe
> 
> icon_directory     c:/Squid/share/icons
> 
> error_directory    c:/Squid/share/errors/Portuguese
> 
> coredump_dir       c:/Squid/var/cache
> 
>  
> 
> cache_store_log none
> 
>  
> 
>   # Proxy Tranparente começo 
> 
>  
> 
>   # httpd_accel_host virtual
> 
>   # httpd_accel_port 3128
> 
>   # httpd_accel_with_proxy on
> 
>   # httpd_accel_uses_host_header on
> 
>  
> 
>   # Proxy Tranparente fim
> 
>  
> 
>    emulate_httpd_log off
> 
>  
> 
>  
> 
> client_netmask 255.255.255.255
> 
>  
> 
> refresh_pattern ^ftp:                  1440     20%     10080
> 
> refresh_pattern ^gopher:            1440     0%       1440
> 
> refresh_pattern .                       0          20%     4320
> 
>  
> 
> #A configuração de Acesso está liberada
> 
>  
> 
> 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
> 
>  
> 
> # servidor DNS
> 
> # dns_nameservers 201.10.120.3 201.10.128.3
> 
>  
> 
> acl SSL_ports port 110
> 
> acl SSL_ports port 25
> 
> acl SSL_ports port 443
> 
> acl Safe_ports port 110             # SMTP
> 
> acl Safe_ports port 25               # POP
> 
> acl Safe_ports port 80               # http
> 
> acl Safe_ports port 21               # ftp
> 
> acl Safe_ports port 443             # https
> 
> 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 minharede src 192.168.1.0/255.255.255.0
> 
>  
> 
>   http_access allow manager localhost
> 
>   http_access deny manager
> 
>   http_access deny !Safe_ports
> 
>   http_access deny CONNECT !SSL_ports
> 
>  
> 
>  
> 
>  
> 
>   # acl DE ACESSO TOTAL
> 
>     acl acessototal src "c:/Squid/acl/acessototal.txt"  
> 
>  
> 
>   # acl pra sites direto, não passar pelo cache
> 
>     acl NOCACHE url_regex "c:/Squid/acl/direto.txt" \?
> 
>     no_cache deny NOCACHE
> 
>  
> 
>   # ACL para liberar acesso ao JAVA
> 
>     acl java browser Java/1.4 Java/1.5 Java/1.6
> 
>  
> 
>   # acl pra bloquear palavras nos endereços
> 
>     acl negapalavra url_regex "c:/Squid/acl/negapalavra.txt"
> 
>     acl negapalavra1 url_regex  "c:/Squid/acl/porno.txt"
> 
>     acl negapalavra2 url_regex  "c:/Squid/acl/porno1.txt"
> 
>     acl negapalavra3 url_regex  "c:/Squid/acl/porno2.txt"
> 
>     acl negapalavra4 url_regex  "c:/Squid/acl/porno3.txt"
> 
>    
> 
>   # acl pra liberar ip com exessões
> 
>     acl liberaip src "c:/Squid/acl/ipliberado.txt"
> 
>  
> 
>   # acl pra liberar ip para msn
> 
>     acl liberamsn src "c:/Squid/acl/ipmsn.txt"
> 
>  
> 
>   # Acl para bloquear download
> 
>     acl download urlpath_regex  .pps$ .ppt$ .com$ .exe$ .pif$ .bat$ .asfv1$
> .wmv$ .mp3$ .avi$ .rar$ .zip$ .msi$ .asf$
> 
>     acl streaming urlpath_regex -i \.asf$ \.asx$ \.avi$ \.au$ \.mid \.midi$
> .\asfv1$ \.wav$
> 
>  
> 
>   # acl pra liberar sites especiais
> 
>     acl sitesespeciais url_regex  "c:/Squid/acl/sitesespeciais.txt" 
> 
>  
> 
>   # Bloquear MSN
> 
>     acl msn url_regex  "c:/squid/acl/msn.txt"
> 
>     acl messenger url_regex -i gateway/gateway.dll
> 
>   
> 
>   # Bloquear GTALK
> 
>     acl gtalk url_regex  "c:/squid/acl/gtalk.txt"
> 
>  
> 
>   # acl pra liberar sites com exessões   
> 
>     acl sitesliberados url_regex  "c:/Squid/acl/sitesliberados.txt"
> 
>   
> 
>  
> 
>     http_access allow acessototal all
> 
>     http_access allow java
> 
>     http_access deny negapalavra  all
> 
>     http_access deny negapalavra1  all
> 
>     http_access deny negapalavra2  all
> 
>     http_access deny negapalavra3  all
> 
>     http_access deny negapalavra4  all
> 
>     http_access allow liberaip all
> 
>     http_access deny download
> 
>     http_access deny streaming
> 
>     http_access allow sitesespeciais all
> 
>     http_access allow liberamsn all
> 
>     http_access deny msn
> 
>     http_access deny messenger
> 
>     http_access deny gtalk
> 
>   # http_access deny webmail
> 
>     http_access allow sitesliberados all
> 
>  
> 
>  
> 
>     
> 
>     http_access allow minharede
> 
>     http_access deny all
> 
>  
> 
>   cache_mgr supo...@...
> 
>   cache_effective_user proxy
> 
>   cache_effective_group proxy
> 
>  
> 
> dns_testnames webonenet.com.br
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 2010/06/24 09:29:17| Done reading c:/Squid/var/cache swaplog (1492 entries)
> 
> 2010/06/24 09:29:17| Finished rebuilding storage from disk.
> 
> 2010/06/24 09:29:17|      1492 Entries scanned
> 
> 2010/06/24 09:29:17|         0 Invalid entries.
> 
> 2010/06/24 09:29:17|         0 With invalid flags.
> 
> 2010/06/24 09:29:17|      1492 Objects loaded.
> 
> 2010/06/24 09:29:17|         0 Objects expired.
> 
> 2010/06/24 09:29:17|         0 Objects cancelled.
> 
> 2010/06/24 09:29:17|         0 Duplicate URLs purged.
> 
> 2010/06/24 09:29:17|         0 Swapfile clashes avoided.
> 
> 2010/06/24 09:29:17|   Took 0.1 seconds (15872.3 objects/sec).
> 
> 2010/06/24 09:29:17| Beginning Validation Procedure
> 
> 2010/06/24 09:29:17|   Completed Validation Procedure
> 
> 2010/06/24 09:29:17|   Validated 1492 Entries
> 
> 2010/06/24 09:29:17|   store_swap_size = 15708k
> 
> 2010/06/24 09:29:18| storeLateRelease: released 0 objects
> 
> 2010/06/24 10:01:00| sslWriteClient: FD 35: write failure: (10054)
> WSAECONNRESET, Connection reset by peer..
> 
> 2010/06/24 10:06:49| sslWriteClient: FD 53: write failure: (10054)
> WSAECONNRESET, Connection reset by peer..
> 
> 2010/06/24 10:11:06| sslWriteClient: FD 21: write failure: (10054)
> WSAECONNRESET, Connection reset by peer..
> 
> 2010/06/24 10:19:29| sslReadClient: FD 22: read failure: (10053)
> WSAECONNABORTED, Software caused connection abort.
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 1
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 2
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 3
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 4
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 5
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 6
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 7
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 8
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 9
> 
> 2010/06/24 14:07:36| comm_select: select failure: (10055) WSAENOBUFS, No
> buffer space available.
> 
> 2010/06/24 14:07:36| Select loop Error. Retry 10
> 
> FATAL: Select Loop failed!
> 
> Squid Cache (Version 2.6.STABLE10): Terminated abnormally.
> 
> CPU Usage: 954.938 seconds = 911.141 user + 43.797 sys
> 
> Maximum Resident Size: 17216 KB
> 
> Page faults with physical i/o: 20321
> 
> 2010/06/24 14:07:36| storeDirWriteCleanLogs: Starting...
> 
> 2010/06/24 14:07:36| WARNING: Closing open FD   13
> 
> 2010/06/24 14:07:36|   Finished.  Wrote 1845 entries.
> 
> 2010/06/24 14:07:36|   Took 0.0 seconds (1845.0 entries/sec).
> 
> 2010/06/24 14:08:36| Starting Squid Cache version 2.6.STABLE10 for
> i686-pc-winnt...
> 
> 2010/06/24 14:08:36| Running as NTSquid02 Windows System Service on Windows
> XP
> 
> 2010/06/24 14:08:36| Service command line is: 
> 
> 2010/06/24 14:08:36| Process ID 1000
> 
> 2010/06/24 14:08:36| With 2048 file descriptors available
> 
> 2010/06/24 14:08:36| With 2048 CRT stdio descriptors available
> 
> 2010/06/24 14:08:36| Windows sockets initialized
> 
> 2010/06/24 14:08:36| Using select for the IO loop
> 
> 2010/06/24 14:08:36| Performing DNS Tests...
> 
> 2010/06/24 14:08:36| Successful DNS name lookup tests...
> 
> 2010/06/24 14:08:36| DNS Socket created at 0.0.0.0, port 1370, FD 5
> 
> 2010/06/24 14:08:36| Adding nameserver 192.168.1.254 from Registry
> 
> 2010/06/24 14:08:36| Adding DHCP nameserver 192.168.254.254 from Registry
> 
> 2010/06/24 14:08:36| Adding DHCP nameserver 192.168.254.254 from Registry
> 
> 2010/06/24 14:08:36| User-Agent logging is disabled.
> 
> 2010/06/24 14:08:36| Referer logging is disabled.
> 
> 2010/06/24 14:08:36| Unlinkd pipe opened on FD 8
> 
> 2010/06/24 14:08:36| Swap maxSize 102400000 KB, estimated 7876923 objects
> 
> 2010/06/24 14:08:36| Target number of buckets: 393846
> 
> 2010/06/24 14:08:36| Using 524288 Store buckets
> 
> 2010/06/24 14:08:36| Max Mem  size: 262144 KB
> 
> 2010/06/24 14:08:36| Max Swap size: 102400000 KB
> 
> 2010/06/24 14:08:36| Local cache digest enabled; rebuild/rewrite every
> 3600/3600 sec
> 
> 2010/06/24 14:08:36| Store logging disabled
> 
> 2010/06/24 14:08:36| Rebuilding storage in c:/Squid/var/cache (CLEAN)
> 
> 2010/06/24 14:08:36| Using Least Load store dir selection
> 
> 2010/06/24 14:08:36| Set Current Directory to c:/Squid/var/cache
> 
> 2010/06/24 14:08:36| Loaded Icons.
> 
> 2010/06/24 14:08:36| Accepting proxy HTTP connections at 0.0.0.0, port 3128,
> FD 13.
> 
> 2010/06/24 14:08:36| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
> 
> 2010/06/24 14:08:36| Accepting HTCP messages on port 4827, FD 15.
> 
> 2010/06/24 14:08:36| Accepting SNMP messages on port 3401, FD 16.
> 
> 2010/06/24 14:08:36| Ready to serve requests.
> 
> 2010/06/24 14:08:37| Done reading c:/Squid/var/cache swaplog (1845 entries)
> 
> 2010/06/24 14:08:37| Finished rebuilding storage from disk.
> 
> 2010/06/24 14:08:37|      1845 Entries scanned
> 
> 2010/06/24 14:08:37|         0 Invalid entries.
> 
> 2010/06/24 14:08:37|         0 With invalid flags.
> 
> 2010/06/24 14:08:37|      1845 Objects loaded.
> 
> 2010/06/24 14:08:37|         0 Objects expired.
> 
> 2010/06/24 14:08:37|         0 Objects cancelled.
> 
> 2010/06/24 14:08:37|         0 Duplicate URLs purged.
> 
> 2010/06/24 14:08:37|         0 Swapfile clashes avoided.
> 
> 2010/06/24 14:08:37|   Took 0.3 seconds (5625.0 objects/sec).
> 
> 2010/06/24 14:08:37| Beginning Validation Procedure
> 
> 2010/06/24 14:08:37|   Completed Validation Procedure
> 
> 2010/06/24 14:08:37|   Validated 1845 Entries
> 
> 2010/06/24 14:08:37|   store_swap_size = 22156k
> 
> 2010/06/24 14:08:37| storeLateRelease: released 0 objects
> 
> 2010/06/24 16:03:46| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 16:12:00| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 16:23:35| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:53| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:53| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
> 2010/06/24 17:01:58| idnsRead: FD 5 recvfrom: (10054) WSAECONNRESET,
> Connection reset by peer.
> 
>  
> 
>  
> 
>  
> 
>   _____  
> 
> De: [email protected] [mailto:[email protected]] Em nome
> de filipisilva1984
> Enviada em: terça-feira, 29 de junho de 2010 11:13
> Para: [email protected]
> Assunto: RES: [squid-br] Re: Squid para de 5 em 5 minutos ajudem por favor
> 
>  
> 
>   
> 
> Concordo com Fabiano.... mas eae Cleverson consegui resolver seu problema
> filho ? Posta ai a solução pra galera que precisar posteriormente.
> 
> Abraços
> Filipi Silva
> 
> --- Em [email protected] <mailto:squid-br%40yahoogrupos.com.br> ,
> "Fabiano" <fabiano.pires@> escreveu
> >
> > E porque não? Basta recompilar a ferramenta em ambiente windows, ou
> utilizar o CygWin. De qualquer forma, as referencias que vi na NET sobre o
> problema apontavam para RAM: módulos defeituosos e/ou falta de memória. Vale
> lembrar que o squid (assim como MySQL e outros) não é recomendado para uso
> em Windows em ambiente de produção.
> > 
> > Fabiano
> > 
> > --- Em [email protected] <mailto:squid-br%40yahoogrupos.com.br>
> , "Diego F. Elcain" <delcain@> escreveu
> > >
> > > DF-h para Windows?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > De: [email protected] <mailto:squid-br%40yahoogrupos.com.br>
> [mailto:[email protected] <mailto:squid-br%40yahoogrupos.com.br> ]
> Em nome
> > > de Fabiano
> > > Enviada em: quinta-feira, 24 de junho de 2010 12:16
> > > Para: [email protected] <mailto:squid-br%40yahoogrupos.com.br>
> 
> > > Assunto: [squid-br] Re: Squid para de 5 em 5 minutos ajudem por favor
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Sem enviar seu arquivo de configuração, as últimas linhas do cache.log e
> > > detalhes do seu disco (um "df -h" já ajuda), qualquer coisa que for dita
> > > vira chutômetro.
> > > 
> > > --- Em [email protected]
> <mailto:squid-br%40yahoogrupos.com.br>
> <mailto:squid-br%40yahoogrupos.com.br> ,
> > > "cleversonbh" <cleversonbh@> escreveu
> > > >
> > > > Amigos,
> > > > 
> > > > instalei em uma empresa o squid nt para windows e esta rodando em uma
> maq
> > > xp com hd 30gb e 512mb memoria esta empresa tem 20 usuarios acessando a
> > > internet o tempo todo e metade deles no mesmo site. so que a uns 30 dias
> o
> > > squid fica parando de 5 em 5 minutos deixando os usuarios sem internet
> as
> > > veses volta normalmente e as veses so restartando a maquina ou o squid,
> > > preciso resolve este problema ajudem pelo amor de dio.
> > > > 
> > > > Abraços Cleverson
> > > >
> > >
> >
>


Responder a