Search squid archive

multiple squids using cache-digests on a single box

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

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux