Re: [squid-users] Newbie

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 20 Apr 2001 21:18:50 +0200

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:17:04 MDT

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