[ SlackList ] [ WkikiSlack ]




squid nie cachuje danych (dluuugie)

From: DeMeO <demeo_malpka_go2.pl>
Date: Wed Sep 29 2004 - 16:46:24 CEST

Witam
Mam ciekawy problem ze squidem... Squid stoi na maszynce pomiedzy modemem
dostawcy
a serwerem obslugujacym siec. Wszystko by bylo ok gdyby nie to ze squid nie
zapisuje danych cachowanych. W logach nic nie ma, w access.log nawet HIT'y
sie pojawiaja lecz niezwykle zadko, a partycja na ktorej squid ma
zapisywac dane
jest caly czas pusta (tzn rozmiar zajetego miejsca rowna sie zero)
Skompilowany jest on z następjącymi opcjami:
./configure --prefix=/usr/local/squid --enable-delay-pools
--enable-cache-digests --enable-poll -disable-ident-lookups
-enable-truncate --enable-removal-policies
--enable-err-language=Polish --sysconfdir=/etc/squid --enable-referer-log
--enable-useragent-log --enable-linux-netfilter --disable-hostname-checks
--enable-underscores --enable-gnuregex

moze ktos powie na co powinienem jeszcze zwrocic uwage ewentualnie znajdzie
moje przeoczenie..
ponizej zamieszczam konfig squida..

http_port 8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 12 MB
maximum_object_size 4096 KB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir ufs /ramdisk 124 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
redirect_rewrites_host_header off
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern -i (.*jpg$|.*gif$|.*jpeg$) 0 50% 28800
refresh_pattern -i (.*html$|.*htm|.*shtml) 0 20% 1440
refresh_pattern (http://.*/$) 0 20% 1440
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
acl our_networks src /*adres_mojej_sieci*/
http_access allow our_networks
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr Kuba@rozpurwacz.pl
cache_effective_user squid
cache_effective_group squid
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
log_icp_queries off
buffered_logs on
error_directory /usr/local/squid/share/errors/Polish
coredump_dir /var/log/squid/cache

-- 
pozdrawiam [DeMeO]
Received on Wed Sep 29 16:51:26 2004
This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014