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

Re: Squid cache size? (was Re: Linux firewall vs Windows and Hardware based firewalls)

On Mon, Aug 04, 2003 at 10:49:47AM +0100, Karsten M. Self wrote:
> Incidentally, how much space are you dedicating to your Squid cache?  I
> know that this can't be assigned directly, so either the segment size,
> or net use (du -s on cache) would be useful.

Currently (offline) /var/spool/squid is 109340kB; /var is a 1.25GB
partition with just over 1GB free. I've set up a script to run 
while [ I'm online ]; do sleep 30; du -sk /var/spool/squid; done
into a log file, and I'll send you a summary of the results (or 
the whole thing if you want :-) ) offlist once it's accumulated a
reasonable amount of data. Most times I connect, however, I'm only
on for a couple of minutes and only visit one or two sites and fetch
mail, so it might be a while before I've done enough lengthy browsing
sessions to produce useful data.

As far as memory usage goes, I haven't played with the settings (yet),
so they're all at their default installation values (cache_mem 8MB,
etc.) The machine Squid's on at the moment has 128MB RAM and 0.75GB
swap, so I might find it worthwhile to bump some of the settings up a


Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpiwOqbBCLlz.pgp
Description: PGP signature

Reply to: