[FUGSPBR] Squid com diskd
Thiago Pinto Damas
thiago em vetorialnet.com.br
Seg Out 7 13:01:50 BRT 2002
É que pelo tipo de erro, parece que estao faltando buffers para a
troca de mensagens; ve se tem isso no teu kernel:
options SHMMAXPGS=16384 # max amount of shared memory pages (4k on i386)
options SHMALL=16384 # max amount of shared memory (bytes)
options SHMMNI=256 # max number of shared memory identifiers
options SHMSEG=256 # max shared memory segments per process
options MSGMNB=16384 # max characters per message queue
options MSGMNI=64 # max number of message queue identifiers
options MSGSEG=8192 # max number of message segments in the system
options MSGSSZ=64 # size of a message segment MUST be power of 2
options MSGTQL=512 # max amount of messages in the system
On Mon, 7 Oct 2002, Alexandre wrote:
> ola thiago.
> fiz tudo como manda o figurino ...
> tem uma opcao no squid que (teoricamente) impede que o download seja barrado.
>
> mas nao esta funcionando a contento ...
> a diretiva e essa:
>
> reply_body_max_size 0 allow all
> no squid.conf, ele fala que, se voce setar o valor pra 0 (zero) ele deixa
> passar tudo .
> mas ...
>
>
>
> Thiago Pinto Damas wrote:
>
> > Voce alterou os parametros do kernel?? Segue os passos do FAQ do
> > squid, em http://www.squid-cache.org.
> >
> > On Fri, 4 Oct 2002, Alexandre wrote:
> >
> > > ola pessoal
> > > segui um manual da Fug falando a respeito de uma opcao pra melhorar
> > > performance com squid
> > > deu quase tudo certo
> > > a velocidade muda mesmo ...
> > > pore surgiu um problemao ...
> > > os usuarios nao conseguem baixar arquivos com mais de 180k
> > > e no log so aparece isso:
> > >
> > > 2002/10/04 18:28:12| storeDiskdSend: msgsnd: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend OPEN: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend: msgsnd: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend OPEN: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend: msgsnd: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend OPEN: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend: msgsnd: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend OPEN: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| storeDiskdSend: msgsnd: (11) Resource temporarily
> > > unavailable
> > > 2002/10/04 18:28:12| assertion failed: diskd/store_io_diskd.c:494:
> > > "++send_errors < 100"
> > > 2002/10/04 18:28:15| Starting Squid Cache version 2.5.STABLE1 for
> > > sparc-sun-solaris2.8...
> > > 2002/10/04 18:28:15| Process ID 2406
> > > 2002/10/04 18:28:15| With 1024 file descriptors available
> > > 2002/10/04 18:28:15| Performing DNS Tests...
> > > 2002/10/04 18:28:15| Successful DNS name lookup tests...
> > > 2002/10/04 18:28:15| helperOpenServers: Starting 5 'dnsserver' processes
> > >
> > > 2002/10/04 18:28:15| helperOpenServers: Starting 32 'squid_ldap_auth'
> > > processes
> > > 2002/10/04 18:28:15| Unlinkd pipe opened on FD 47
> > > 2002/10/04 18:28:15| Swap maxSize 3686400 KB, estimated 283569 objects
> > > 2002/10/04 18:28:15| Target number of buckets: 14178
> > > 2002/10/04 18:28:15| Using 16384 Store buckets
> > > 2002/10/04 18:28:15| Max Mem size: 8192 KB
> > > 2002/10/04 18:28:15| Max Swap size: 3686400 KB
> > > 2002/10/04 18:28:15| Rebuilding storage in /cache (DIRTY)
> > > 2002/10/04 18:28:15| Using Least Load store dir selection
> > > 2002/10/04 18:28:15| Current Directory is /cache
> > > 2002/10/04 18:28:15| Loaded Icons.
> > > 2002/10/04 18:28:15| Accepting HTTP connections at 0.0.0.0, port 8080,
> > > FD 48.
> > > 2002/10/04 18:28:15| Accepting ICP messages at 0.0.0.0, port 3130, FD
> > > 49.
> > > 2002/10/04 18:28:15| WCCP Disabled.
> > > 2002/10/04 18:28:15| Ready to serve requests.
> > > 2002/10/04 18:28:16| Done scanning /cache swaplog (0 entries)
> > > 2002/10/04 18:28:16| Finished rebuilding storage from disk.
> > > 2002/10/04 18:28:16| 0 Entries scanned
> > > 2002/10/04 18:28:16| 0 Invalid entries.
> > > 2002/10/04 18:28:16| 0 With invalid flags.
> > > 2002/10/04 18:28:16| 0 Objects loaded.
> > > 2002/10/04 18:28:16| 0 Objects expired.
> > > 2002/10/04 18:28:16| 0 Objects cancelled.
> > > 2002/10/04 18:28:16| 0 Duplicate URLs purged.
> > > 2002/10/04 18:28:16| 0 Swapfile clashes avoided.
> > > 2002/10/04 18:28:16| Took 1.0 seconds ( 0.0 objects/sec).
> > > 2002/10/04 18:28:16| Beginning Validation Procedure
> > > 2002/10/04 18:28:16| Completed Validation Procedure
> > > 2002/10/04 18:28:16| Validated 0 Entries
> > > 2002/10/04 18:28:16| store_swap_size = 0k
> > > 2002/10/04 18:28:16| storeLateRelease: released 0 objects
> > >
> > > se alguem tiver uma ideia ...
> > >
> > > obrigado
> > >
> > > _______________________________________________________________
> > > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
> > >
> >
> > Thiago Pinto Damas - SysAdmin
> > ----------------------------------------------------------------
> > http://www.vetorialnet.com.br http://www.ecomp.furg.br
> > thiago at vetorialnet.com.br thiago at ecomp.furg.br
> >
> > _______________________________________________________________
> > Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> > Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
> _______________________________________________________________
> Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
> Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
Thiago Pinto Damas - SysAdmin
----------------------------------------------------------------
http://www.vetorialnet.com.br http://www.ecomp.furg.br
thiago at vetorialnet.com.br thiago at ecomp.furg.br
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd