Quantcast

squid won't cache large files...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

squid won't cache large files...

Mike Brown-8
Hi,

I'm trying to use squid to cache streaming videos.  I have a dedicated
30Gb for this.  I've set:

cache_mem 64 MB
maximum_object_size 1048576 KB
maximum_object_size_in_memory 8096 KB
cache_dir ufs /var/squid/cache 20480 16 256
refresh_pattern ^wmv$           525600  50%     999999
override-expire override-lastmod reload-into-ims ignore-reload
ignore-no-cache ignore-private ignore-auth

but it still won't cache wmv's.  access.log shows:

1181352726.839   1125 10.10.10.101 TCP_MISS/200 6512 GET http://wmscnn.stream.a
ol.com.edgestreams.net/cnn/showbiz/2007/06/08/sot.la.court.spokesman.hilton.cnn.
ws.wmv - DIRECT/64.62.216.109 application/vnd.ms.wms-hdr.asfv1

store.log shows:

1181353062.769 RELEASE -1 FFFFFFFF D76B64A8D2887F618E86AEAE106DD02E
200 1181353062        -1 1181439461 application/vnd.ms.wms-hdr.asfv1
5674/5674 GET http://wmscnn.stream.aol.com.edgestreams.net/cnn/showbiz/2007/06/08/sot.la.court.spokesman.hilton.cnn.ws.wmv

What am I doing wrong?

$ squid-v
Squid Cache: Version 2.6.STABLE9
configure options: '--datadir=/usr/local/share/squid'
'--enable-auth=basic digest' '--enable-arp-acl'
'--enable-basic-auth-helpers=NCSA YP'
'--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user unix_group'
'--enable-removal-policies=lru heap' '--enable-ssl'
'--enable-storeio=ufs diskd null' '--localstatedir=/var/squid'
'--enable-pf-transparent' '--prefix=/usr/local' '--sysconfdir=/etc'
'--mandir=/usr/local/man' '--infodir=/usr/local/info' 'CC=cc'
'CFLAGS=-O2 -pipe'
$ uname -mrsv
OpenBSD 4.1 GENERIC#1435 i386

Thanks,

-Mike
Loading...