[squid-users] multiple squids using cache-digests on a single box

From: Jack Falworth <jackf.mail_at_gmx.de>
Date: Mon, 06 Dec 2010 16:30:06 +0100

Hi,

I have a big-sized server for caching purposes only (quad-core cpu, a lot of RAM and HDD storage). Since squid cannot use multiple cpus, my box is very limited in the amount of requests that can be processed. In order to improve that I run multiple squids on the box (e.g. 4 squid processes). The requests are distributed to all squids in a round-robin manner.

Now I have the problem of cache duplicates. In order to solve this I want to use sibling cache peers along with cache-digests. The problem is that I cannot setup multiple cache peers with the same address (here 127.0.0.1) and different ports. In the book squid - the definitive guide I found the following line:
"Neighbor hostnames must be unique: you can't have two neighbors with the same name, even if they have different ports."

As it is clear to not use the same hostname more than once, I don't get the point why it should(resp. is) not possible to set up multiple siblings on 127.0.0.1 with different ports?

Is there any reason for this restriction? Or is there a different solution for my problem?

I use Ubuntu 10.4 with squid 2.7Stable9

Regards,
  JackF

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
Received on Mon Dec 06 2010 - 15:30:18 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 07 2010 - 12:00:01 MST