Re: HELP! How should I change squid.conf for two cache_dir?

From: Mark Visser <mark@dont-contact.us>
Date: Tue, 25 Mar 1997 15:02:43 +0100 (MET)

On Tue, 25 Mar 1997, Naoya Ito wrote:

> Hi,
> I'm tring to set up Squid 1.1.8.
> I have two disks for cache, and I want to use these.
> How should I change squid.conf?
>
> ***Two disks...***
> /work/cache -> (I want to set up it "cache_swap 800")
> /work2/cache -> (I want to set up it "cache_swap 1600")
>
> ##### One part of squid.conf
> cache_dir /work/cache
> cache_dir /work2/cache
>
> cache_swap ??? <----- I don't know how to change.
> ##### End of part
>

Hi,

I had this problem also back in january. It's on the todolist of Squid
makers to make multiple cachedirs possible WITH differentsizes.

At this moment the only solution i know of that works is to divide your
harddisks into multiple pieces that are equal to each other.

I now have 3 partitions and 1.5 Gb cache specified as:

# Swap amount total
cache_swap 1500

# Disk 1 is 850 mb and divided in 550 squid en 300 programs
# Disk 2 and 3 are each 570 mb
cache_dir /squid-cache1
cache_dir /squid-cache2
cache_dir /squid-cache3

Thus i have a total of 1650 swap possible (started with 1500 to be sure).

Hopes it won't flow over with this solution.

If you want to know more, feel free to mail me.

Mark

-------------------------------------------------------------------------
Mark Visser | Student Civiele Technologie & Management
Calslaan 26 - 31 | E-mail: mark@cal026031.student.utwente.nl
7522 MC Enschede | SNT-mail: mark@snt.student.utwente.nl
Telephone: 053-4895038 |
-------------------------------------------------------------------------
Warning: You can get rid of all the bugs by disabling them from the main menu.
Received on Tue Mar 25 1997 - 06:11:26 MST

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