Página 3 de 4 PrimeiroPrimeiro 1234 ÚltimoÚltimo
+ Responder ao Tópico



  1. #11
    Tem uma outra forma que pode te ajudar a descobrir o problema... execute o squid sem ser em modo daemon:
    squid -N

    A saída de erro vai pro seu terminal...

  2. #12
    redoctober
    Deu erro dinovo!

    Veja o Log -> /var/cache/squid/cache.log




    =====
    2005/06/07 16:16:04| Starting Squid Cache version 2.5.STABLE5 for i686-pc-linux-gnu...
    2005/06/07 16:16:04| Process ID 28715
    2005/06/07 16:16:04| With 1024 file descriptors available
    2005/06/07 16:16:04| DNS Socket created at 0.0.0.0, port 35246, FD 5
    2005/06/07 16:16:04| Adding nameserver 200.195.24.31 from /etc/resolv.conf
    2005/06/07 16:16:04| Adding nameserver 200.195.24.32 from /etc/resolv.conf
    2005/06/07 16:16:04| User-Agent logging is disabled.
    2005/06/07 16:16:04| Referer logging is disabled.
    2005/06/07 16:16:04| Unlinkd pipe opened on FD 10
    2005/06/07 16:16:04| Swap maxSize 573440 KB, estimated 95573 objects
    2005/06/07 16:16:04| Target number of buckets: 4778
    2005/06/07 16:16:04| Using 8192 Store buckets
    2005/06/07 16:16:04| Max Mem size: 61440 KB
    2005/06/07 16:16:04| Max Swap size: 573440 KB
    2005/06/07 16:16:04| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
    2005/06/07 16:16:04| Rebuilding storage in /var/cache/squid (DIRTY)
    2005/06/07 16:16:04| Using Least Load store dir selection
    2005/06/07 16:16:04| Set Current Directory to /var/cache/squid
    2005/06/07 16:16:04| Loaded Icons.
    2005/06/07 16:16:04| Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
    2005/06/07 16:16:04| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
    2005/06/07 16:16:04| HTCP Disabled.
    2005/06/07 16:16:04| Accepting SNMP messages on port 3401, FD 14.
    2005/06/07 16:16:04| WCCP Disabled.
    2005/06/07 16:16:04| Ready to serve requests.
    2005/06/07 16:16:04| Done reading /var/cache/squid swaplog (1 entries)
    2005/06/07 16:16:04| Finished rebuilding storage from disk.
    2005/06/07 16:16:04| 1 Entries scanned
    2005/06/07 16:16:04| 0 Invalid entries.
    2005/06/07 16:16:04| 0 With invalid flags.
    2005/06/07 16:16:04| 1 Objects loaded.
    2005/06/07 16:16:04| Starting Squid Cache version 2.5.STABLE5 for i686-pc-linux-gnu...
    2005/06/07 16:16:04| Process ID 28715
    2005/06/07 16:16:04| With 1024 file descriptors available
    2005/06/07 16:16:04| DNS Socket created at 0.0.0.0, port 35246, FD 5
    2005/06/07 16:16:04| Adding nameserver 200.195.24.31 from /etc/resolv.conf
    2005/06/07 16:16:04| Adding nameserver 200.195.24.32 from /etc/resolv.conf
    2005/06/07 16:16:04| User-Agent logging is disabled.
    2005/06/07 16:16:04| Referer logging is disabled.
    2005/06/07 16:16:04| Unlinkd pipe opened on FD 10
    2005/06/07 16:16:04| Swap maxSize 573440 KB, estimated 95573 objects
    2005/06/07 16:16:04| Target number of buckets: 4778
    2005/06/07 16:16:04| Using 8192 Store buckets
    2005/06/07 16:16:04| Max Mem size: 61440 KB
    2005/06/07 16:16:04| Max Swap size: 573440 KB
    2005/06/07 16:16:04| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
    2005/06/07 16:16:04| Rebuilding storage in /var/cache/squid (DIRTY)
    2005/06/07 16:16:04| Using Least Load store dir selection
    2005/06/07 16:16:04| Set Current Directory to /var/cache/squid
    2005/06/07 16:16:04| Loaded Icons.
    2005/06/07 16:16:04| Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
    2005/06/07 16:16:04| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
    2005/06/07 16:16:04| HTCP Disabled.
    2005/06/07 16:16:04| Accepting SNMP messages on port 3401, FD 14.
    2005/06/07 16:16:04| WCCP Disabled.
    2005/06/07 16:16:04| Ready to serve requests.
    2005/06/07 16:16:04| Done reading /var/cache/squid swaplog (1 entries)
    2005/06/07 16:16:04| Finished rebuilding storage from disk.
    2005/06/07 16:16:04| 1 Entries scanned
    2005/06/07 16:16:04| 0 Invalid entries.
    2005/06/07 16:16:04| 0 With invalid flags.
    2005/06/07 16:16:04| 1 Objects loaded.
    2005/06/07 16:16:04| 0 Objects expired.
    2005/06/07 16:16:04| 0 Objects cancelled.
    2005/06/07 16:16:04| 0 Duplicate URLs purged.
    2005/06/07 16:16:04| 0 Swapfile clashes avoided.
    2005/06/07 16:16:04| Took 0.3 seconds ( 3.6 objects/sec).
    2005/06/07 16:16:04| Beginning Validation Procedure
    2005/06/07 16:16:04| Completed Validation Procedure
    2005/06/07 16:16:04| Validated 1 Entries
    2005/06/07 16:16:04| store_swap_size = 12
    =====


    Aí tem algo de errado?



  3. existem alguns virus do windows que lotam seu arquivo de log do squid. isso faz com que o arquivo cresca até dois gigas, impedindo a manipulação do mesmo ou enchendo seu disco. em qq um dos casos o squid cai. vc deve configurar melhor o squid rotate e limpar os virus da rede. Eu tive esse problema aqui e foi isso que eu fiz. Aqui funfo.

    Veja que seus últimos logs possuem todos os mesmos horários. isso reforça o provável probelma de vírus ou programinha besta de invasão por D.O.S.

  4. #14
    redoctober
    exatamente o quê eu devo fazer no squid? Comando?



  5. remova os logs, reinicie o squid. e analise o tamanho do log e a velocidade que ele cresce até cair. assim pode-se ter uma idéia melhor do que está acontecendo. no caso do log estar crescendo mto rápido dá uma olhada se é alguma máquina em específico que está causando isso.






Tópicos Similares

  1. squid
    Por rosane no fórum Servidores de Rede
    Respostas: 3
    Último Post: 26-05-2006, 18:11
  2. Bridge + Iptables + Squid Remoto
    Por Machado no fórum Servidores de Rede
    Respostas: 2
    Último Post: 26-08-2003, 09:04
  3. Squid
    Por mauri no fórum Servidores de Rede
    Respostas: 1
    Último Post: 03-06-2002, 20:43
  4. Bloquear sites no squid - urgente
    Por bauer no fórum Servidores de Rede
    Respostas: 1
    Último Post: 21-05-2002, 22:53
  5. Squid
    Por luiz_nando no fórum Servidores de Rede
    Respostas: 1
    Último Post: 10-05-2002, 19:05

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L