+ Responder ao Tópico



  1. #1

    Exclamation Logs estranhos do Squid

    Instalei um servidor proxy com Centos 5.5, Lusca cache e videocache (tentei usar o thunder mas não consegui).

    Até uns dias atrás eu tava rodando Centos 5.4 com squid que já vem nele mais o videocache e tava tudo belezinha. Aí troquei o HD que era IDE (tava usando como teste) e coloquei um Sata.
    Resolvi instalar o Lusca, até por ele já ter o patch ZPH. Instalei tb o videocache_1.9.2
    Agora tá me aparecendo esses logs. Sou novato em squid, não se isso é ruim ou não.

    Será que alguém pode me dar uma luz? desde já agradeço.
    Código :
     tail -f /var/log/squid/cache.log 
    2010/05/27 13:08:51| helperHandleRead: FD 76 read: (104) Connection reset by peer
    2010/05/27 13:08:51| WARNING: url_rewriter #2 (FD 76) exited
    2010/05/27 13:08:51| Too few url_rewriter processes are running
    2010/05/27 13:08:51| Starting new helpers
    2010/05/27 13:08:51| helperOpenServers: Starting 7 'python' processes
    2010/05/27 13:08:55| helperHandleRead: FD 29 read: (104) Connection reset by peer
    2010/05/27 13:08:55| WARNING: url_rewriter #1 (FD 29) exited
    2010/05/27 13:08:55| WARNING: url_rewriter #3 (FD 89) exited
    2010/05/27 13:09:00| WARNING: url_rewriter #4 (FD 98) exited
    2010/05/27 13:09:35| squidaio_queue_request: WARNING - Queue congestion
     
    010/05/27 13:19:44| WARNING: unparseable HTTP header field {Content-Length: 40657
    2010/05/27 13:19:44| ctx: exit level  0
    2010/05/27 13:19:44| ctx: enter level  0: 'http://65.55.40.119/att/GetAttachment.aspx?file=051886eb-6da9-422f-b7da-f0db53a84c93.jpg&ct=aW1hZ2UvanBlZw_3d_3d&name
    =aW1hZ2UwMDEuanBn&inline=1&rfc=0&empty=False&imgsrc=cid%3a0D68D2741ACD4F328107E185DB217C40%40izalu&hm__login=cinara.1975.bes&hm__domain=hotmail.com&ip=10.12.152
    .8&d=d378&mf=0&hm__ts=Thu%2c%2027%20May%202010%2016%3a19%3a43%20GMT&sc=23GpJxedWA%2asVtX5PlfU7Gj0g37ba%2akYtayzkuK1AuMG11RQivUuDIKbFRZeSHfySDTzMb0EYh22nKE81DxNV
    Rc%21GBMsUoADUqc9QHp7R13%2a5%2aZ4wLnFuhG0nAImfo%217dytwW2hFWhRwUndwQB1FyknkZ2PA0W2POMGtNyywHVWnY5t5xiMOQmtT7HM6gmgkEyJ%21JpD%2ahTuPax6h9rk%21uRYYrhadDCBQ%21GyOP
    5zKxgTwu%217BIPBVSMBcxWXJadD3Kj%21hIRWGcWQtzBCxy5MisGRVbQZVY3yUH0dCAwY5FURFPy6DTMfGMeNEGWiOBkQipyKRNGwARSdODa%21cGgluNI01mMngRwFvFo&hm__ha=01_244f21963b39d98b05
    f9d11f0c18b7c29f8f124c71dcab6b5ff073b7e6a60372&oneredir=1'
    }010/05/27 13:19:44| WARNING: unparseable HTTP header field {Content-Length: 64694
    2010/05/27 13:19:45| ctx: exit level  0
    2010/05/27 13:19:45| ctx: enter level  0: 'http://65.55.40.119/att/GetAttachment.aspx?file=64b5585f-4326-4bdb-aa16-49bd7095bb32.jpg&ct=aW1hZ2UvanBlZw_3d_3d&name
    =aW1hZ2UwMDQuanBn&inline=1&rfc=0&empty=False&imgsrc=cid%3aF8603214016F488194BC8886730D9B7D%40izalu&hm__login=cinara.1975.bes&hm__domain=hotmail.com&ip=10.12.152
    .8&d=d378&mf=0&hm__ts=Thu%2c%2027%20May%202010%2016%3a19%3a43%20GMT&sc=2lOY1mJTdA%2asVtX5PlfU7Gj%2arl1LL6Kcq%2aHVNwNM06f%21gRzmK9ioES8AKJkEBp9P4vbn6wNwSc691IJCU
    1ymM%21HdV7jOYUdoxWaB0cB%214rRFF4akWPl8AKbpEcJK08GJMGOVnN9uY48jLAI8PCL4qoNWgNZIO0xeKcWr6Fn0ofjp3IWcCTQpWy%2ah86xbFI1tHoWZtaRDM4cPbSQhr5iAbXIalp2nO4SM5gHe%2ahxjw
    LeC8p4xef1v3fXOmIZYCQDBU5p9DYv%211QkFxdNQGi5JEntJBFBQS2dq9RBwAE5l3MbVGWP029Y29yobGET4UBcVvrCAiOU%21oNchgrXF%21cO5Thqmb3jKwolEJ6&hm__ha=01_b0bcbb0bd5d1b62c7751b5
    64ec740614063f95e180f76e28cb8a4c663fb5e176&oneredir=1'
    }010/05/27 13:19:45| WARNING: unparseable HTTP header field {Content-Length: 62060
    2010/05/27 13:19:51| ctx: exit level  0
    2010/05/27 13:19:51| ctx: enter level  0: 'http://65.55.40.119/att/GetAttachment.aspx?file=123b0030-88c8-40ea-9431-5755efca8666.jpg&ct=aW1hZ2UvanBlZw_3d_3d&name
    =aW1hZ2UwMDMuanBn&inline=1&rfc=0&empty=False&imgsrc=cid%3a6DEE467BC12E4C8CB7F60B76B99B1941%40izalu&hm__login=cinara.1975.bes&hm__domain=hotmail.com&ip=10.12.152
    .8&d=d378&mf=0&hm__ts=Thu%2c%2027%20May%202010%2016%3a19%3a42%20GMT&sc=2MLIrb9UPA%2asVtX5PlfU7GjwmaBtpWkaeezPdAFT3qCjVdQx5oVKwJ7N6rObLCPQ%2aHeTQnQgQbMuG4sHr2Cir
    SNh09Ya8T6AizWnr97lR1N8SiWfHW9ouxeA2CQsnILEur3mogQWgqvOHQfc2GoDt87vR8xsJnUeMKUUG45XdXI0XGNZm1S6nQAG83mBkjjEqpL2%2aQpLQ95OOOX37FRJwSQ3mqNKTvLh%217m0jMK3C%2aD5k%2
    a7fXZ%2aeNaQ5IEmelj3cTREXQkMxr9aBkFNaf4G4R64Oh85dG3pLfs8x6uwTmvQpgmQPSu1hqKEK6QnyaneTR%2aVNUhUZadLsIko102XBVSqmGtCZULJgVZ&hm__ha=01_1a1a4dc28a1f4c6a2044e491a554
    4e15e912bfa30fb25d1b5961141716735a74&oneredir=1'
    }010/05/27 13:19:51| WARNING: unparseable HTTP header field {Content-Length: 39925
    Última edição por osmano807; 27-05-2010 às 13:36.

  2. #2

    Padrão Re: Logs estranhos do Squid

    Amigo eu acho que o videocache, so roda com Squid não vi nenhum relato do pessoal usando o Lusca, tenta reinstala com o squid e posta ai pra gente se deu certo. t+

  3. #3
    MODERADOR-CHEFE Avatar de osmano807
    Ingresso
    Aug 2008
    Localização
    Araguari - Minas Gerais
    Posts
    1.980
    Posts de Blog
    5

    Padrão Re: Logs estranhos do Squid

    Bem... Sobre o "WARNING: url_rewriter #4 (FD 98) exited", creio que é normal. Tem que perguntar pro developer do videocache pra ver se não é nenhum bug, pra arrumar.

    Sobre o resto, pra mim é normal.
    "WARNING: unparseable HTTP header field" é erro de header mal formado pelo servidor, e os "ctx: enter level", não sei não

  4. #4

    Padrão Re: Logs estranhos do Squid

    engraçado, reiniciei o servidor, até ia dizer que tinha parado, mas agora tá aparecendo outros logs

    2010/05/27 13:37:23| WARNING: Forwarding loop detected for:
    Client: 192.168.10.1 http_port: 192.168.10.2:5128
    HTTP/1.1 http://200/ HTTP/1.1
    P3P: policyref="http://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP C
    OR"
    Content-Type: text/html; charset=UTF-8
    X-Content-Type-Options: nosniff
    Content-Encoding: gzip
    Date: Thu, 27 May 2010 16:37:20 GMT
    Server: cafe
    Cache-Control: private, x-gzip-ok=""
    Content-Length: 1997
    X-XSS-Protection: 1; mode=block
    X-Cache: MISS from ligbeol
    Via: 1.0 ligbeol:5128 (Lusca/LUSCA_HEAD-r14674), 1.1 192.168.100.1 (Mikrotik HttpProxy)
    X-Proxy-ID: 828810205
    X-Forwarded-For: 192.168.100.81

    2010/05/27 13:37:23| httpAppendBody: Request not yet fully sent "HTTP/1.1 http://200/"
    2010/05/27 13:37:24| WARNING: Forwarding loop detected for:
    Client: 192.168.10.1 http_port: 192.168.10.2:5128
    HTTP/1.1 http://200/ HTTP/1.1
    P3P: policyref="http://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP C
    OR"
    Content-Type: text/html; charset=UTF-8
    X-Content-Type-Options: nosniff
    Content-Encoding: gzip
    Date: Thu, 27 May 2010 16:37:20 GMT
    Server: cafe
    Cache-Control: private, x-gzip-ok=""
    Content-Length: 1997
    X-XSS-Protection: 1; mode=block
    X-Cache: MISS from ligbeol
    Via: 1.0 ligbeol:5128 (Lusca/LUSCA_HEAD-r14674), 1.1 192.168.100.1 (Mikrotik HttpProxy)
    X-Proxy-ID: 828810205
    X-Forwarded-For: 192.168.100.81

    2010/05/27 13:37:25| httpAppendBody: Request not yet fully sent "HTTP/1.1 http://200/"

    [root@ligbeol ~]# tail -f /var/log/squid/cache.log
    Server: cafe
    Cache-Control: private, x-gzip-ok=""
    Content-Length: 1997
    X-XSS-Protection: 1; mode=block
    X-Cache: MISS from ligbeol
    Via: 1.0 ligbeol:5128 (Lusca/LUSCA_HEAD-r14674), 1.1 192.168.100.1 (Mikrotik HttpProxy)
    X-Proxy-ID: 828810205
    X-Forwarded-For: 192.168.100.81

    2010/05/27 13:37:25| httpAppendBody: Request not yet fully sent "HTTP/1.1 http://200/"

    [root@ligbeol ~]# tail -f /var/log/squid/cache.log
    Server: cafe
    Cache-Control: private, x-gzip-ok=""
    Content-Length: 1997
    X-XSS-Protection: 1; mode=block
    X-Cache: MISS from ligbeol
    Via: 1.0 ligbeol:5128 (Lusca/LUSCA_HEAD-r14674), 1.1 192.168.100.1 (Mikrotik HttpProxy)
    X-Proxy-ID: 828810205
    X-Forwarded-For: 192.168.100.81
    2010/05/27 13:37:25| httpAppendBody: Request not yet fully sent "HTTP/1.1 http://200/"
    2010/05/27 13:40:24| squidaio_queue_request: WARNING - Queue congestion

    Quanto ao Lusca, eu quis instalar pq já vi aqui no fórum falarem que o squid com melhor desempenho era o 2.6, depois o 2.7 e o 3, e que melhor que o 2.6 era o Lusca. O problema do 2.6 é que não tem o patch zph pra ele.

  5. #5

    Padrão Re: Logs estranhos do Squid

    Citação Postado originalmente por osmano807 Ver Post
    Bem... Sobre o "WARNING: url_rewriter #4 (FD 98) exited", creio que é normal. Tem que perguntar pro developer do videocache pra ver se não é nenhum bug, pra arrumar.
    Eu queria mesmo instalar o thunder, pq faz do windows update e atualizações de antivirus, só que eu empaquei nesse problema: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
    o rpm libstdc++.so.6 para o centos inclui até GLICXX_3.4.8, o 9. encontrei rpm do fedora, mas aí acabou faltando várias dependencias e alguns conflitos com pacotes já instalados achei melhor parar pra não corromper o sistema.

  6. #6

    Padrão Re: Logs estranhos do Squid

    O meu tambem so fica aparecendo a mensagem, eu uso o squid em paralelo com mikrotik WARNING: Forwarding loop detected for