[FUG-BR] squid
Alexandre Correa
alexandre em sabbath.com.br
Terça Janeiro 15 13:42:53 BRST 2008
entao.. voce precisa compilar seu squid para usar mais file descriptors...
passa para 48000
On Jan 15, 2008 2:34 PM, <marcelo em mginformatica.com> wrote:
> saida do squiclient mgr:info
> File descriptor usage for squid:
> Maximum number of file descriptors: 32768
> Largest file desc currently in use: 18981
> Number of file desc currently in use: 40
> Files queued for open: 0
> Available number of file descriptors: 32728
> Reserved number of file descriptors: 100
> Store Disk files open: 0
> IO loop method: kqueue
>
>
> quando acontece este problema,
> onde ta mostrando Number of file desc currently in use, chega aos 32000 ou mais
>
>
>
>
>
> On Tue, 15 Jan 2008 12:19:47 -0200, "Alexandre Correa" <alexandre em sabbath.com.br> wrote:
> > roda
> >
> > squid -v
> >
> > e ooha o numero de file descriptors que ele foi compilado... voce vai
> > precisar aumentar esse numero !!!
> >
> > On Jan 15, 2008 1:17 PM, <marcelo em mginformatica.com> wrote:
> >>
> >>
> >> OLa.. meu squid de vez em quando ta parando de responder, ta
> >> aparecendo algo diferente no log e nao sei o que é.
> >>
> >> no access.log aparece
> >>
> >> 1200406490.048 64161 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.051 64166 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.053 64169 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.056 64172 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.058 64175 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.061 64179 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.065 64184 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.069 64188 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.072 64192 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >> 1200406490.076 64197 200.0.0.4 TCP_MISS/500 5371 GET
> >>
> > http://200.0.0.4:3128/40E8001430534547444A50523035363338322020202020206C0000008466000000017600000005
> >> - DIRECT/200.0.0.4 text/html
> >>
> >> cache.log
> >>
> >> 2008/01/15 12:22:08| httpAccept: FD 12: accept failure: (53)
> >> Software caused connection abort
> >> 2008/01/15 12:22:09| httpAccept: FD 12: accept failure: (53)
> >> Software caused connection abort
> >> 2008/01/15 12:22:13| commBind: Cannot bind socket FD 358 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:13| commBind: Cannot bind socket FD 172 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 345 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| WARNING! Your cache is running out of
> >> filedescriptors
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 415 to *:0:
> >> (49) Can't assign requested address
> >> 2008/01/15 12:22:14| commBind: Cannot bind socket FD 415 to *:0:
> >> (49) Can't assign requested address
> >> e a requisicao é do propio IP da maquina.
> >>
> >> olhe o netstat
> >>
> >> tcp4 0 0 200.0.0.4.54307 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54306 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54305 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54304 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54303 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54302 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54301 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54300 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54299 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54298 200.0.0.4.3128 TIME_WAIT
> >> tcp4 0 0 200.0.0.4.54297 200.0.0.4.3128 TIME_WAIT
> >>
> >>
> >> nao sei aonde procurar o problema
> >> -------------------------
> >> Histórico: http://www.fug.com.br/historico/html/freebsd/
> >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >>
> >
> >
> >
> >
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net
Mais detalhes sobre a lista de discussão freebsd