Re: [squid-users] Newbie (Henrik)

From: Cassio <cassio@dont-contact.us>
Date: Fri, 20 Apr 2001 16:54:34 -0500

Thanx for your explanation.
What I could see in cache.log is some differences at
the last time when squid was executed and squid
execution in 2000 (when everything was ok). In 2000, I
could find a line at log this way:
"Done reading cache dir #0 swap log (235670 entries)
 Finished rebuild storage disk
...
 Beggining validation procedure
 Completed validation procedure"
By now, when squid is executed, I see the message
"Rebuilding storage in cache dir#0 (DIRTY)"
and this "validation procedure" isn't executed. Could it mean
that I have a problem in my cache ?
Thanx a lot.
Cassio

-----Mensagem original-----
De: Henrik Nordstrom <hno@hem.passagen.se>
Para: Cassio <cassio@gln.com.br>
Cc: squid-users@squid-cache.org <squid-users@squid-cache.org>
Data: Sexta-feira, 20 de Abril de 2001 14:19
Assunto: Re: [squid-users] Newbie

>swap.state contains a list of all the objects in the disk cache. It is
>pruned from old information each time the logs are rotated.
>
>swap.stae.new is a temporary file Squid writes to while it prunes
>swap.state from old information or while reading in swap.state after a
>restart.
>
>How many Squid processes you see depends on your platform and how Squid
>is built. Anywhere from 1 to N (usually 2 or somewhere about 16-30).
>
>continous disk activitiy is usually a sign of either
>
>a) Having too little memory (see vmstat 5)
>b) Squid crashing and restarting all the time (see cache.log)
>c) High request load (not likely in your case as you have a quite small
>link)
>
>Either way it is usually a problem that needs to be addressed.
>
>--
>Henrik Nordstrom
>Squid Hacker
>
>Cassio wrote:
>>
>> cache_dir /usr/local/squid/cache 400 16 256
>>
>> What are the files swap.state and swap.state.news ?
>> They're greater than 30Mb !
>> What do you think about continuously activity on hd ?
>> Is it normal ? And how many child processes of
>> squid I must see when I execute de command TOP ?
>> Thanx !
>> Cassio
>
Received on Fri Apr 20 2001 - 13:53:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:24 MST