[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuranção do cache do squid



Opa, testa desse jeito

cache_dir diskd /var/spool/squid1 4000 64 256 Q1=72 Q2=56

valeu
Att,
Maiquel

Em 28/01/08, Claudio Rocha de Jesus <crochadejesus@yahoo.com.br> escreveu:
No arquivo squid.conf padrão tem o seguinte:

The diskd store type:
#
#       "diskd" uses the same storage format as "ufs",
utilizing a
#       separate process to avoid blocking the main
Squid process on
#       disk-I/O.
#
#       cache_dir diskd Directory-Name Mbytes L1 L2
[options] [Q1=n] [Q2=n]
#
#       see argument descriptions under ufs above
#
#       Q1 specifies the number of unacknowledged I/O
requests when Squid
#       stops opening new files. If this many messages
are in the queues,
#       Squid won't open new files. Default is 64
#
#       Q2 specifies the number of unacknowledged
messages when Squid
#       starts blocking.  If this many messages are in
the queues,
#       Squid blocks until it receives some replies.
Default is 72
#
#       When Q1 < Q2 (the default), the cache
directory is optimized
#       for lower response time at the expense of a
decrease in hit
#       ratio.  If Q1 > Q2, the cache directory is
optimized for
#       higher hit ratio at the expense of an increase
in response
#       time.

Me parece estar faltando argumentos, e o diretorio
deve estar criado porque ele não cria automaticamente.



--- paulobruck1 <paulobruck1@bol.com.br> escreveu:

> Em Seg, 2008-01-28 às 15:40 -0200, Leandro Moreira
> escreveu:
> > Caros,
> > Estou realizando algumas modificações nas
> configurações de cache do meu
> > proxy, uma delas é alterar a diretiva de cache de:
> >
> > cache_dir ufs <cacminho_do_cache>
> >
> > para
> > cache_dir diskd <cacminho_do_cache>
> >
> > Ao mandar recriar o cache ele me retorna o
> seguinte erro:
> > FATAL: Bungled squid-teste.conf line 54: cache_dir
> diskd /var/spool/squid1
> > 8192 16 256
> >
> > Alguem pode me dizer seu tenho que recompilar o
> squid pra suportar esse
> > modo de cache, ou é algum erro na minha
> configuração.
>
> não pode ser usado. Segunda a doc do squid o modo
> diskd é para s.o. bsd
> ( se não me falha a memória)
>
>
> ats
> >
> > Att.
> >
> >
> > --
> > Leandro Moreira
> > Linux Networks
> > e-mail: leandro@leandromoreira.eti.br
> > Tel.: + 55(32) 9197-7909
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-portuguese-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


--------------------------------------
Claudio Rocha de Jesus
Analista de Suporte Técnico
crochadejesus@yahoo.com.br
Linux user number 433834
/*Sem educação não há liberdade.*/
--------------------------------------


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--

   www.prognus.com.br
       .~.
      /  v  \  Seja Livre, use GNU/Linux!
     /(     )\
    ^^-^^
Reply to: