Mam trzy maszyny pracujące jako proxy. Dwie uruchamiane przeze mnie około rok temu, jedna odziedziczona.
Ostatnimi czasy dzwonią do mnie ludzie, że bardzo wolno wszystko działa i faktycznie, przez chwilkę działa jak należy a potem 10 minut czekania aż się jakakolwiek strona otworzy.
W procesach mam niby squida uruchomionego:
Kod: Zaznacz cały
2511 ? Ss 0:00 /usr/sbin/squid -D -YC
2514 ? S 0:34 (squid) -D -YC
Kod: Zaznacz cały
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl a80 src xxx.xxx.xxx.0/20
acl a85 src xxx.xxx.xxx.0/18
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow a80
http_access allow a85
http_access deny all
http_reply_access allow all
icp_access allow all
ident_lookup_access allow a80 a85 SSL_ports Safe_ports
http_port 8080
cache_peer xxx.xxx.xxx.yyx sibling 8080 3130 proxy-only
cache_peer xxx.xxx.xxx.yyy sibling 8080 3130 proxy-only
hierarchy_stoplist cgi-bin ?
cache_mem 96 MB
maximum_object_size 40960 KB
access_log /var/log/squid/access.log
emulate_httpd_log on
ftp_user Squid@xxx.xxx.pl
ftp_passive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
cache_mgr admin@xxx.xxx.pl
hosts_file /etc/hosts
coredump_dir /var/spool/squid
Teraz pytanie, o co chodzi i jak sobie z tym poradzić?