RE: [SQU] Squid cache_dir size calculation

From: Wisnu Wijayanta <wisnu.wijayanta@dont-contact.us>
Date: Mon, 9 Oct 2000 17:00:34 +0700

I think you don't need cache_dir sizing formula, but you forgot to patch
your squid release. Check the stable 2.3 bugs page.

But if you need the formula... :), First, don't take all of your disk
spaces, take only 60% or less. Second, find the number of L1
dir. -->(((cache-size-KB/avg.-KB)/256)/256)*2= L1 dir. (L2 will always 256)

Wisnu.

-----Original Message-----
From: Sergey Esin [mailto:SergeyE@ami.ru]
Sent: Monday, October 09, 2000 4:43 PM
To: 'squid-users@ircache.net'
Subject: [SQU] Squid cache_dir size calculation

Hi!

I have SQUID 2.3-STABLE3 installed on
RedHat 6.2. Cache directory is located on 4Gb
disk.
-- squid.conf-----
cache_dir ufs /var/squid/cache 1800 16 256.

And the problem is: squid uses ALL available disk space (4Gb) instead of
1800Mb. After disk is full, squid crashes.

Is there any cache calculation tips/hints ?

Thanks,
Sergey

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Oct 09 2000 - 04:03:04 MDT

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