SQUID big file download

Fórumok

Sziasztok!

Szeretnék egy kis segítséget kérni squid ügyben. Van egy squid szerverem, amivel összesen annyi a problémám, ha nagy fájlt (pl.: dvd méretű iso) akarok letölteni akkor az alábbi hibaüzenetet kapom:

Fogadási hiba

A rendszer által visszaadott hibaüzenet: (104) Connection reset by peer

Az idetartozó squid konfigom:

cache_mem 1024 MB
maximum_object_size 8192 MB
cache_dir ufs /var/spool/squid3 8192 256 256
coredump_dir /var/spool/squid3
reply_body_max_size 8192 MB

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
prefer_direct on
refresh_all_ims on

A leírások alapján állítottam a méreten, de továbbra sem működik.
Valakinek ötlete mit rontok el?

köszönöm

Hozzászólások

Squid verzió?
Oprendszer?
Kézzel fordított, vagy valami disztribúcióból származik?

ubuntu 14.04

Squid Cache: Version 3.3.8

configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd,rock' '--enable-removal-policies=lru,heap' '--enable-delay-pools' '--enable-cache-digests' '--enable-underscores' '--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth-basic=DB,fake,getpwnam,LDAP,MSNT,MSNT-multi-domain,NCSA,NIS,PAM,POP3,RADIUS,SASL,SMB' '--enable-auth-digest=file,LDAP' '--enable-auth-negotiate=kerberos,wrapper' '--enable-auth-ntlm=fake,smb_lm' '--enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group,session,SQL_session,unix_group,wbinfo_group' '--enable-url-rewrite-helpers=fake' '--enable-eui' '--enable-esi' '--enable-icmp' '--enable-zph-qos' '--enable-ecap' '--disable-translation' '--with-swapdir=/var/spool/squid3' '--with-logdir=/var/log/squid3' '--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536' '--with-large-files' '--with-default-user=proxy' '--enable-linux-netfilter' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security'

kézzel fordított

Hali.

Access.log/cache.log mit ír?

--

Warning! Use ANY version of Windows at your own risk!

Ha kiszeded a "reply_body_max_size 8192 MB" -t akkor se jó?
Csekkold le a "maximum_object_size" -ot is, van-e állítvan, ha nincs, próbálj beállítani valamit.
A cache_dir -t is érdemes megnézni, hogy van-e elég hely, illetve, hogy milyen filerendszer van alatta (tudja-e a nagy fileokat kezelni).
--
TH

Ez az opció nem nagyon megy:

reply_body_max_size 8192 MB belsohalo vagy reply_body_max_size 8192 MB

Abban az esetben ha a 8192 MB-ról leviszem 100 MB-ra, akkor nem azt az üzenetet mondja hogy túl nagy fájl, hanem a fent írt üzenetet írja, tehát nem igazán él ez az opció a SQUID-ban. Lehet hogy valami + opcióval újra kellene fordítanom?