Em 26 de abril de 2012 15:37, Asstec <ass...@matik.com.br> escreveu:

> Saul Figueiredo wrote:
> > Minhas configurações de cache_dir e cache_men:
> >
> > cache_dir ufs /sarg/cache/ 19000 16 256
> > cache_mem 1024 MB
>
>
> essas configurações não influenciam em nada na exec do reconf, tanto faz
> se é i386 ou amd64
>
> esquece aquele cálculo que alguém te sugeriu, que o cara está
> confundindo e misturando as bolas
>
> aquele cálculo pode estar certo mas emn relação a RAM da máquina e não
> aos parametros cache_dir e/ou cache_mem
>
> esses 19G de cache_dir é nada e um servidor de 8G de RAM com cache_mem
> 1024 até é muito pouco
>
> seu problema de demora está em outro lugar, facilmente descobre dando um
> tail no squid.log enquanto executa o reconfigure
>
> caso não encontra, aumente o debug level e observe
>
>
>
>
> --
>
> João Martins Eng. Resp. Suporte Técnico
>
>
> Construimos Wireless Networks desde '97
> Serviços para ISP desde '93
>
> http://info.matik.com.br
>
>
Boa tarde.
Fiz o que o Asstec falou e basicamente acontece isso:


fgets() failed! dying..... errno=22 (Unknown error: 0)    <
-------------------- Repete essa mensagem aqui umas 100 vezes
fgets() failed! dying..... errno=22 (Unknown error: 0)
fgets() failed! dying..... errno=2 (No such file or directory)
fgets() failed! dying..... errno=2 (No such file or directory)
fgets() failed! dying..... errno=22 (Unknown error: 0)
fgets() failed! dying..... errno=22 (Unknown error: 0)
2012/04/26 15:36:26| Starting Squid Cache version 3.1.10 for
amd64-portbld-freebsd8.2...
2012/04/26 15:36:26| Process ID 8735
2012/04/26 15:36:26| With 65536 file descriptors available
2012/04/26 15:36:26| Initializing IP Cache...
2012/04/26 15:36:26| DNS Socket created at [::], FD 7
2012/04/26 15:36:26| DNS Socket created at 0.0.0.0, FD 8
2012/04/26 15:36:26| Adding domain copanet.copasa from /etc/resolv.conf
2012/04/26 15:36:26| Adding nameserver 10.1.1.4 from /etc/resolv.conf
2012/04/26 15:36:26| Adding nameserver 10.1.1.5 from /etc/resolv.conf
2012/04/26 15:36:26| Adding nameserver 200.216.236.33 from /etc/resolv.conf
2012/04/26 15:36:26| helperOpenServers: Starting 100/100 'ntlm_smb_lm_auth'
processes
2012/04/26 15:36:26| helperOpenServers: Starting 2/2 'ntlm_smb_lm_auth'
processes
2012/04/26 15:36:26| Unlinkd pipe opened on FD 217
2012/04/26 15:36:26| Store logging disabled
2012/04/26 15:36:26| Swap maxSize 19456000 + 593920 KB, estimated 1542301
objects
2012/04/26 15:36:26| Target number of buckets: 77115
2012/04/26 15:36:26| Using 131072 Store buckets
2012/04/26 15:36:26| Max Mem  size: 593920 KB
2012/04/26 15:36:26| Max Swap size: 19456000 KB
2012/04/26 15:36:26| Version 1 of swap file with LFS support detected...
2012/04/26 15:36:26| Rebuilding storage in /sarg/cache/ (DIRTY)
2012/04/26 15:36:26| Using Least Load store dir selection
2012/04/26 15:36:26| Set Current Directory to /sarg
2012/04/26 15:36:26| Loaded Icons.
2012/04/26 15:36:26| Accepting  HTTP connections at [::]:3128, FD 220.
2012/04/26 15:36:26| HTCP Disabled.
2012/04/26 15:36:26| Configuring Parent 200.216.236.2/8080/0
2012/04/26 15:36:26| Configuring Parent 200.216.236.36/8080/0
2012/04/26 15:36:26| Ready to serve requests.
2012/04/26 15:36:26| Store rebuilding is 0.37% complete
2012/04/26 15:36:34| Done reading /sarg/cache/ swaplog (1115763 entries)
2012/04/26 15:36:34| Finished rebuilding storage from disk.
2012/04/26 15:36:34|   1026071 Entries scanned
2012/04/26 15:36:34|         0 Invalid entries.
2012/04/26 15:36:34|         0 With invalid flags.
2012/04/26 15:36:34|    936950 Objects loaded.
2012/04/26 15:36:34|         0 Objects expired.
2012/04/26 15:36:34|     89121 Objects cancelled.
2012/04/26 15:36:34|         0 Duplicate URLs purged.
2012/04/26 15:36:34|         0 Swapfile clashes avoided.
2012/04/26 15:36:34|   Took 7.16 seconds (130813.63 objects/sec).
2012/04/26 15:36:34| Beginning Validation Procedure
2012/04/26 15:36:34|   262144 Entries Validated so far.
2012/04/26 15:36:34|   1048576 Entries Validated so far.
2012/04/26 15:36:34|   Completed Validation Procedure
2012/04/26 15:36:34|   Validated 1873915 Entries
2012/04/26 15:36:34|   store_swap_size = 17512134
2012/04/26 15:36:34| storeLateRelease: released 0 objects
2012/04/26 15:36:34| comm_old_accept: FD 220: (53) Software caused
connection abort
2012/04/26 15:36:34| httpAccept: FD 220: accept failure: (53) Software
caused connection abort



Creio que esse fget error seja normal, afinal no meu outro proxy aqui, que
é 32bits acontece o mesmo e faz o -k reconfigure rapidão.

Acontece isso no seu também ?



-- 
"Deve-se aprender sempre, até mesmo com um inimigo."
(Isaac Newton)

Atenciosamente,
Saul Figueiredo
Analista FreeBSD/Linux
Linux Professional Institute Certification Level 2
saulfelip...@gmail.com
saul-fel...@hotmail.com
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a