[squid-users] Squid Accelertor Problem with Cache_Peer's

From: Shane A. Froebel <shane@dont-contact.us>
Date: Mon, 05 Mar 2007 12:32:43 -0500

Dear List,

We at the battlestarwiki.org are using Squid in accelerator mode at the
moment to serve as the primary point for all web-connections. However,
everytime we have like a horde of users access the site, the server
itself goes slow. So I tried settings up a secondary cache server on our
SQL server (which only has SQL and no httpd). Now I read everything I
can and I can still not get everything to work correctly.

Bellow are my "settings" from squiq.conf from both servers, apollo and
athena. Apache is already configured to listen on port 127.0.0.1:80

Apollo Setttings
######## IP Address Hooks
http_port 70.86.78.154:80 accel vhost defaultsite=battlestarwiki.org
http_port 70.86.78.155:80 accel vhost defaultsite=<ANOTHERWIKI; URL not
yet released>
######## ICP Port
icp_port 3130
######## Cache Peer
# Localhost
cache_peer localhost parent 80 7 no-query default
# Mirrors
cache_peer squid.battlestarwiki.org parent 3128 3130 (Squid hostname
from hosts is: 67.18.242.91)
acl all src 0.0.0.0/0.0.0.0
acl ourservers src 67.18.242.0/255.255.255.0 #Unsure
acl manager proto cache_object
acl port80 port 80 # Apache - Do not remove!
# Squid Settings -- Start
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
# Squid Settings -- End
http_access allow port80
http_access allow ourservers #Unsure
http_access deny all manager

Athena Settings
######## http_port
http_port squid.battlestarwiki.org:3128
######## ICP Port
icp_port 3130
acl all src 0.0.0.0/0.0.0.0
acl ourservers src 70.86.78.0/255.255.255.0
acl manager proto cache_object
# Squid -- Start
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
# Squid -- End
http_access allow all
http_access allow ourservers
icp_access allow ourservers
icp_access allow all

Any help would be great.

-- Shane
Received on Mon Mar 05 2007 - 10:33:07 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT