rfminelli / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
GNU General Public License v2.0
0 stars 0 forks source link

sibling/or parent not working properly #141

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hello i tried to configure sibling on  my chaches in order to let them talk 
with each other and it is never working always udp_miss000 the only way that 
worked is to to make one of them parent but still after a while il get n error 
like too many open files my files descriptors are 512000 thank you

on cache2
cache_peer (ip of cache1 172.x.x.10) parent 8080 3130 no-query round-robin
on cache3
cache_peer (ip of cache1 172.x.x.10) parent 8080 3130 no query round-robin
 this configuration makes any cached file on any of the 3 caches read as a hit and i may take it as cached but my problem here is that at the peak squid starts to make error like too many opened files or tcp connection failed my files descriptors are 512000!

on the other hand i tried sibling between the 3 caches :

on cache1
cache_peer 172.x.x.11 sibling  8080 3130 proxy-only
cache_peer 172.x.x.12 parent 8080 3130 proxy-only
 on cache2:
cache_peer 172.x.x.10 sibling  8080 3130 proxy-only
cache_peer 172.x.x.12 parent 8080 3130 proxy-only
on cache 3:
cache_peer 172.x.x.10 sibling  8080 3130 proxy-only
cache_peer 172.x.x.11 parent 8080 3130 proxy-only

i started to see too many udp_miss000 and cannot take a file cached on another 
squid

what is the best configuration for this situation thank you

Original issue reported on code.google.com by tonimel...@gmail.com on 21 Jan 2011 at 2:32