+ Responder ao Tópico



  1. pessoal,
    estou tendo problemas com o squid.... ele está parando de rodar sozinho.
    Creio que seja problema com o log.
    Devo realmente configurar o squid.conf para gerar esses logs?
    ou posso desativalos?
    access.log
    store.log
    cache.log

    Quais desses posso desativar sem prejudicar o squid.

    Abraço.

  2. Citação Postado originalmente por vialink Ver Post
    pessoal,
    estou tendo problemas com o squid.... ele está parando de rodar sozinho.
    Creio que seja problema com o log.
    Devo realmente configurar o squid.conf para gerar esses logs?
    ou posso desativalos?
    access.log
    store.log
    cache.log

    Quais desses posso desativar sem prejudicar o squid.

    Abraço.
    me corrija se estiver errado, mas nenhuma delas prejudica o squid, se o squid está parando faz o seguinte, digite no terminal como root.

    # squid -d5


    ou


    # sudo squid -d5

    esse comando faz uma depuração do squid, se for o caso, posta o resultado ai !! jah adianta a ajuda !!



  3. Citação Postado originalmente por magrock Ver Post
    me corrija se estiver errado, mas nenhuma delas prejudica o squid, se o squid está parando faz o seguinte, digite no terminal como root.

    # squid -d5


    ou


    # sudo squid -d5

    esse comando faz uma depuração do squid, se for o caso, posta o resultado ai !! jah adianta a ajuda !!

    vialinktelecom# 2009/03/17 17:29:38| Starting Squid Cache version 2.7.STABLE4 for amd64-portbld-freebsd7.1...
    2009/03/17 17:29:38| Process ID 2042
    2009/03/17 17:29:38| With 11095 file descriptors available
    2009/03/17 17:29:38| Using kqueue for the IO loop
    2009/03/17 17:29:38| Performing DNS Tests...
    2009/03/17 17:29:38| Successful DNS name lookup tests...
    2009/03/17 17:29:38| DNS Socket created at 0.0.0.0, port 60043, FD 6
    2009/03/17 17:29:38| Adding nameserver 208.67.222.222 from squid.conf
    2009/03/17 17:29:38| Adding nameserver 208.67.220.220 from squid.conf
    2009/03/17 17:29:38| Referer logging is disabled.
    2009/03/17 17:29:38| Unlinkd pipe opened on FD 10
    2009/03/17 17:29:38| Swap maxSize 10240000 + 768000 KB, estimated 846769 objects
    2009/03/17 17:29:38| Target number of buckets: 42338
    2009/03/17 17:29:38| Using 65536 Store buckets
    2009/03/17 17:29:38| Max Mem size: 768000 KB
    2009/03/17 17:29:38| Max Swap size: 10240000 KB
    2009/03/17 17:29:38| Store logging disabled
    2009/03/17 17:29:38| Rebuilding storage in /usr/local/squid/cache/ (DIRTY)
    2009/03/17 17:29:38| Using Least Load store dir selection
    2009/03/17 17:29:38| Set Current Directory to /usr/local/squid/cache
    2009/03/17 17:29:38| Loaded Icons.
    2009/03/17 17:29:38| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 12.
    2009/03/17 17:29:38| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
    2009/03/17 17:29:38| WCCP Disabled.
    2009/03/17 17:29:38| /usr/local/squid/: (21) Is a directory
    2009/03/17 17:29:38| WARNING: Could not write pid file
    2009/03/17 17:29:38| Ready to serve requests.
    2009/03/17 17:29:39| Store rebuilding is 6.0% complete
    2009/03/17 17:29:39| Done reading /usr/local/squid/cache/ swaplog (69988 entries)
    2009/03/17 17:29:39| Finished rebuilding storage from disk.
    2009/03/17 17:29:39| 67279 Entries scanned
    2009/03/17 17:29:39| 0 Invalid entries.
    2009/03/17 17:29:39| 0 With invalid flags.
    2009/03/17 17:29:39| 67279 Objects loaded.
    2009/03/17 17:29:39| 0 Objects expired.
    2009/03/17 17:29:39| 2709 Objects cancelled.
    2009/03/17 17:29:39| 0 Duplicate URLs purged.
    2009/03/17 17:29:39| 0 Swapfile clashes avoided.
    2009/03/17 17:29:39| Took 0.7 seconds (91403.6 objects/sec).
    2009/03/17 17:29:39| Beginning Validation Procedure
    2009/03/17 17:29:39| Completed Validation Procedure
    2009/03/17 17:29:39| Validated 64570 Entries
    2009/03/17 17:29:39| store_swap_size = 1030858k
    2009/03/17 17:29:39| storeLateRelease: released 0 objects


    depois...

    2009/03/17 20:31:30| store_swap_size = 687242k
    2009/03/17 20:31:30| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:30| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: enter level 0: 'http://images.habbohotel.com.br/habboweb/31_b40895fb6101dbe96dc7b9d6477eeeb4/5/web-gallery/v2/images/popup/popup_topbar_slice.gif'
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend UNLINK: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: exit level 0
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: enter level 0: 'http://www3.jogo.com/jeux/printscreen/small/symphony_bee.jpg'
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: exit level 0
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: enter level 0: 'http://images.habbohotel.com.br/habboweb/31_b40895fb6101dbe96dc7b9d6477eeeb4/5/web-gallery/v2/images/popup/popup_habbocount_bg.gif'
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend UNLINK: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| ctx: exit level 0
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeLateRelease: released 0 objects
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:31| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend: msgsnd: (35) Resource temporarily unavailable
    2009/03/17 20:31:32| storeDiskdSend OPEN: (35) Resource temporarily unavailable
    Última edição por vialink; 17-03-2009 às 18:36.






Tópicos Similares

  1. tirar a linha que aparece no log do squid
    Por no fórum Servidores de Rede
    Respostas: 0
    Último Post: 06-10-2003, 07:10
  2. Software para logs do squid
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 10-07-2003, 10:54
  3. duvida sobre o log do squid..
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 03-06-2003, 11:43
  4. Duvidas sobre Log access.log do SQUID !!!
    Por Danielvb no fórum Servidores de Rede
    Respostas: 2
    Último Post: 23-11-2002, 15:46
  5. Log do Squid?
    Por no fórum Servidores de Rede
    Respostas: 2
    Último Post: 15-10-2002, 19:50

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L