Article View: pl.comp.os.bsd
Article #9268squid - zrywanie downloadu z www
From: artur
Date: Thu, 23 Jun 2005 12:17
Date: Thu, 23 Jun 2005 12:17
130 lines
4724 bytes
4724 bytes
Witam Spotkala mnie ostatnio dziwna niespodziewanka. Otoz pracuje sobie maszynka FreeBSD5.4 na ktorej jest zainstalowany squid. Obsluguje 30 osob. Wersja squida to 2.5.9stable Problem polega na tym ze, w momencie gdy ktos sciaga sobie z www, jakikolwiek pliczek o pojemnosci dajmy na to 5MB, lub 1MB, ale wiekszy od 512KB to zrywa transfer przy 512 KB sciagnietych danych. Jest to dziwne, bo nie moge tego powiazac z niczym. Poprostu przerywa sciaganie i juz. Dzieje sie to za każdym razem. Jesli chodzi o ftp to ten problem nie wystepuje. Przegladanie stron tez dziala bardzo ladnie, tylko kiedy przyjdzie cos sciagnac to zrywa... Czy ktos mial juz podobny problem? Jesli tak to prosze o wskazowke... wdzieczny :) Oto konfig tego squida. http_port 3128 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_single_host off httpd_accel_with_proxy on httpd_accel_uses_host_header on cache_mem 16 MB #maximum_object_size 1 MB cache_replacement_policy heap GDSF memory_replacement_policy heap GDSF #cache_peer w3cache.tpnet.pl parent 8080 7 no-query no-digest round-robin #cache_peer w3cache.icm.edu.pl parent 8080 7 no-query no-digest round-robin hierarchy_stoplist cgi-bin acl QUERY urlpath_regex cgi-bin no_cache deny QUERY cache_dir diskd /usr/squid/w3cache 1000 16 256 Q1=72 Q2=6 cache_access_log /dev/null cache_store_log none cache_log /var/log/squid/error.txt pid_filename /var/run/squid.pid #cache_replacement_policy GDSF #cache_swap_log /var/log/squid/swap.log log_ip_on_direct on log_mime_hdrs on 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$) 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 siec src 192.168.10.0/255.255.255.0 acl siec2 src 192.168.11.0/255.255.255.0 acl SSL_ports port 443 563 acl Safe_ports port 21 80 280 443 488 563 70 210 591 777 1025-65535 acl CONNECT method CONNECT acl MCONN maxconn 60 http_access allow localhost http_access allow manager localhost http_access allow manager http_access deny MCONN siec http_access deny MCONN siec2 http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow siec http_access allow siec2 http_access deny all icp_access allow localhost icp_access allow siec icp_access allow siec2 icp_access deny all cache_effective_user squid cache_effective_group squid miss_access allow siec miss_access allow siec2 miss_access deny all error_directory /usr/local/etc/squid/errors/Polish acl magic_words1 url_regex -i 192.168 acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .bin .mpeg .mpg .mpe .qt .ram .rm .iso .raw delay_pools 2 delay_class 1 2 delay_parameters 1 175000/175000 20000/175000 delay_access 1 allow magic_words2 delay_access 1 allow siec delay_access 1 allow siec2 #snmp - do stat. acl snmppublic snmp_community public snmp_access allow snmppublic localhost snmp_access deny all cache_mgr kmicio@nospamgazeta.pl dns_nameservers 194.204.159.1 194.204.152.34 ftp_passive off ftp_user ftp@LAN log_icp_queries off buffered_logs on visible_hostname deli.xxx.pl debug_options ALL,1 connect_timeout 180 seconds peer_connect_timeout 50 seconds request_timeout 2 minutes read_timeout 5 minutes client_lifetime 2 minutes half_closed_clients on pconn_timeout 120 seconds dead_peer_timeout 25 seconds maximum_object_size 512 KB pipeline_prefetch on forwarded_for off
Technical Details
Message-ID:
<pan.2005.06.23.12.17.14.678584@gazeta.pl.usunto>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mail From: "artur" <kmicio@gazeta.pl.usunto> Newsgroups: pl.comp.os.bsd Subject: squid - zrywanie downloadu z www Date: Thu, 23 Jun 2005 14:17:22 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 134 Message-ID: <pan.2005.06.23.12.17.14.678584@gazeta.pl.usunto> NNTP-Posting-Host: alm109.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1119529236 18162 83.17.42.109 (23 Jun 2005 12:20:36 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 23 Jun 2005 12:20:36 +0000 (UTC) User-Agent: Pan/0.13.3 (That cat's something I can't explain) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit