Search squid archive

RE: Squid 3.3.4 workers > 1 = fail

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

 



I just tried to set "workers" to a number greater than 1.  After restarting Squid no one is listening to port 3128.  Setting it back to 1 resolves the issue.  I'm sure I'm missing something simple but I have searched for hours and can't figure it out.  Here's my setup:

squid -v
Squid Cache: Version 3.3.4
configure options:  '--with-openssl=/usr/local/ssl' '--prefix=/opt/squid' '--enable-ssl'  --enable-ltdl-convenience

squid.conf:

# squid.conf

workers 1

acl manager url_regex -i ^cache_object:// /squid-internal-mgr/
acl localnet src 127.0.0.1
acl localnet src 172.16.0.0/16


http_access allow manager localnet
http_access deny manager

acl TRACE method TRACE
acl SSL_ports port 443
acl Safe_ports port 80          # http
# acl Safe_ports port 21                # ftp
acl Safe_ports port 443         # https
# acl Safe_ports port 70                # gopher
# acl Safe_ports port 210               # wais
# acl Safe_ports port 1025-65535        # unregistered ports
# acl Safe_ports port 280               # http-mgmt
# acl Safe_ports port 488               # gss-http
# acl Safe_ports port 591               # filemaker
# acl Safe_ports port 777               # multiling http
acl CONNECT method CONNECT

acl www dstdomain www.8f7.com x01.phx01.bkck.net 172.16.1.201
acl bkckxserve2 dstdomain bkckxserve2.8f7.com x02.phx01.bkck.net 172.16.1.202
acl test dstdomain test.8f7.com x03.phx01.bkck.net 172.16.1.203
acl www04 dstdomain www04.8f7.com x04.phx01.bkck.net 172.16.1.204
acl bkckxserve5 dstdomain bkckxserve5.8f7.com x05.phx01.bkck.net 172.16.1.205
acl bkckxserve6 dstdomain bkckxserve6.8f7.com x06.phx01.bkck.net 172.16.1.206
acl bkckxserve7 dstdomain bkckxserve7.8f7.com x07.phx01.bkck.net 172.16.1.207
acl www08 dstdomain www08.8f7.com x08.phx01.bkck.net 172.16.1.208
acl www09 dstdomain www09.8f7.com x09.phx01.bkck.net 172.16.1.209
acl test2 dstdomain test2.8f7.com x10.phx01.bkck.net 172.16.1.210
acl www10 dstdomain www11.8f7.com x11.phx01.bkck.net 172.16.1.211
acl www11 dstdomain www11.8f7.com x11.phx01.bkck.net 172.16.1.211
acl www12 dstdomain www12.8f7.com x12.phx01.bkck.net 172.16.1.212

http_access deny TRACE
http_access deny !Safe_ports
# http_access deny CONNECT !SSL_ports
http_access deny CONNECT !Safe_ports
http_access allow www
http_access allow bkckxserve2
http_access allow test
http_access allow www04
http_access allow bkckxserve5
http_access allow bkckxserve6
http_access allow bkckxserve7
http_access allow www08
http_access allow www09
http_access allow www10
http_access allow www11
http_access allow www12
http_access allow test2
http_access deny all

icp_access deny all


htcp_access deny all

http_port 3128 accel protocol=http vhost

cache_peer 172.16.1.101 parent 19080 0 originserver no-query proxy-only login=PASS name=www
cache_peer 172.16.1.102 parent 19080 0 originserver no-query proxy-only login=PASS name=bkckxserve2
cache_peer 172.16.1.103 parent 19080 0 originserver no-query proxy-only login=PASS name=test
cache_peer 172.16.1.104 parent 19080 0 originserver no-query proxy-only login=PASS name=www04
cache_peer 172.16.1.105 parent 19080 0 originserver no-query proxy-only login=PASS name=bkckxserve5
cache_peer 172.16.1.106 parent 19080 0 originserver no-query proxy-only login=PASS name=bkckxserve6
cache_peer 172.16.1.107 parent 19080 0 originserver no-query proxy-only login=PASS name=bkckxserve7
cache_peer 172.16.1.108 parent 19080 0 originserver no-query proxy-only login=PASS name=www08
cache_peer 172.16.1.109 parent 19080 0 originserver no-query proxy-only login=PASS name=www09
cache_peer 172.16.1.110 parent 19080 0 originserver no-query proxy-only login=PASS name=test2
cache_peer 172.16.1.111 parent 19080 0 originserver no-query proxy-only login=PASS name=www11
cache_peer 172.16.1.112 parent 19080 0 originserver no-query proxy-only login=PASS name=www12

cache_peer_domain www www.8f7.com x01.phx01.bkck.net 172.16.1.201
cache_peer_domain bkckxserve2 bkckxserve2.8f7.com x02.phx01.bkck.net 172.16.1.202
cache_peer_domain test test.8f7.com x03.phx01.bkck.net 172.16.1.203
cache_peer_domain www04 www04.8f7.com x04.phx01.bkck.net 172.16.1.204
cache_peer_domain bkckxserve5 bkckxserve5.8f7.com x05.phx01.bkck.net 172.16.1.205
cache_peer_domain bkckxserve6 bkckxserve6.8f7.com x06.phx01.bkck.net 172.16.1.206
cache_peer_domain bkckxserve7 bkckxserve7.8f7.com x07.phx01.bkck.net 172.16.1.207
cache_peer_domain www08 www08.8f7.com x08.phx01.bkck.net 172.16.1.208
cache_peer_domain www09 www09.8f7.com x09.phx01.bkck.net 172.16.1.209
cache_peer_domain test2 test2.8f7.com vm10.phx01.bkck.net 172.16.1.210
cache_peer_domain www11 www11.8f7.com x11.phx01.bkck.net 172.16.1.211
cache_peer_domain www12 www12.8f7.com x12.phx01.bkck.net 172.16.1.212

hierarchy_stoplist cgi-bin ?

access_log /opt/squid/var/logs/access.log squid


cache_log /opt/squid/var/logs/cache.log

cache_store_log /opt/squid/var/logs/store.log

visible_hostname sq04.phx01.bkck.net

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern (cgi-bin|\?)    0       0%      0
refresh_pattern .               0       20%     4320






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

  Powered by Linux