Re: [squid-users] Cache Size Limitation

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Tue, 30 Mar 2004 10:22:23 +0200

On 29.03 10:36, trainier@kalsec.com wrote:
> 32-bit Architecture. What would you suggest cache_mem to be on a system
> with 1 gig of ram?

Ah! if you only have 1 gig of RAM, you really shouldn't set cache_mem to
more... all of squid data should be in memory. As long as squid and system
consume some memory even w/o squid cache, I'd set it to 512MB.
Maybe then, if you have no other services running, and memory usage shows
free memory, I'd grow it up to ~768MB

> What would you suggest as a maximum_object_size ??

my experiences (watching logs and trying to find the biggest file that was
fetched more than once) showed 20MB. I have 30GB spool; in your case it
could be lower - I'd start with 20MB and after a week or two I'd check the
same

> The filesystem is 40gig.
> What do you mean by, "if the filesystem usage gets too big" ??

If filesystem is filled over 90%, write operations with it start take too
much of CPU time and disk i/o.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam is for losers who can't get business any other way.
Received on Tue Mar 30 2004 - 01:22:26 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST