Search squid archive

Re: Problem with Sibling squids

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

 



Hi juraj,

Added that line and didn't help :(.

This is what happens:

1) Squids were configured without sibling.
2) Configured sibling on each squid as showed before (4 cache_peer
lines per squid, total 5 squids).
3) Reloaded (not restarted) squid. Sibling started working.... After a
while (~20 secs). Stopped working.
4) Changed some settings (disable siblings, reloaded, enabled
siblings, reloaded) and no ICP requests were sent.
5) Restarted Squid and sibling started working again for ~20 secs again.

So every change I make I have to restart squid :(

About if I see SIBLING_HITs on my access.log, yes, for those 20 secs
sibling works. I see SIBLING_HITs :(

Thank you!
Santiago

On 6/5/07, Juraj Sakala <juraj.sakala@xxxxxxxxxxxx> wrote:
> Hi,
>
> > Here's my config:
> >
> > acl RedPlaid src 208.XX.XX.0/255.255.255.0
> > acl squid1 src 208.74.XX.XX
> > acl squid2 src  208.74.XX.XX
> > acl squid3 src 208.74.XX.XX
> > acl squid4 src 208.74.XX.XX
> > acl squid5 src 208.74.XX.XX
> > acl AllowedSites dstdomain "/etc/squid/allowed_sites"
> > acl DeniedSites url_regex "/etc/squid/denied_sites"
> >
> > http_access allow AllowedSites !DeniedSites
> > http_access allow localhost
> Try this:
> http_access allow RedPlaid
> I think this was problem
>
> > http_access deny all
> >
> > icp_access allow RedPlaid
> > icp_access deny all
> >
> > miss_access deny squid1 squid2 squid3 squid4
> > miss_access allow all
> >
> > httpd_accel_host virtual
> > httpd_accel_port 80
> > httpd_accel_single_host off
> >
> > httpd_accel_with_proxy on
> >
> > httpd_accel_uses_host_header on
> >
> > log_icp_queries on
> > icp_hit_stale on
> >
> > cache_peer 208.74.XX.XX sibling 80 3130 proxy-only no-digest allow-miss
> > cache_peer 208.74.XX.XX sibling 80 3130 proxy-only no-digest allow-miss
> > cache_peer 208.74.XX.XX sibling 80 3130 proxy-only no-digest allow-miss
> > cache_peer 208.74.XX.XX sibling 80 3130 proxy-only no-digest allow-miss
> Do you see something like this in access.log?:
> 1181021372.535    545 x.x.x.x TCP_MISS/200 6784 GET
> http://www.google.sk/images/nav_logo3.png - SIBLING_HIT/someproxy
image/png
>
> Regards
> Juraj
>

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

  Powered by Linux