[squid-users] Re: cache_dir aufs min-size
Hi, I was wondering if someone could shed a light on my previous unanswered email. Thank you. On Tue, Oct 19, 2010 at 22:10, Costin Gusa wrote: > > Hi, > I would like to limit the minimum object size in a cache dir > For this I have setup the following line in squid.conf: > > cache_dir aufs /var/spool/squid 65536 16 256 min-size=4MB > > However looking at /var/spool/squid cache dir, I see smaller objects also: > > /var/spool/squid# ls -lah 00/00|grep K|head -n3 > drwxr-x--- 2 proxy proxy 4.0K 2010-10-19 21:56 . > drwxr-x--- 258 proxy proxy 8.0K 2010-10-19 20:31 .. > -rw-r- 1 proxy proxy 73K 2010-10-19 20:35 > > I tried also with min-size=4194304 with no luck > > Is this an intended behaviour or am I misunderstanding this functionality? > [...] > ii squid-common 2.7.STABLE3-4.1lenny1 Internet object cache (WWW proxy > c
[squid-users] cache_dir aufs min-size
Hi, I would like to limit the minimum object size in a cache dir For this I have setup the following line in squid.conf: cache_dir aufs /var/spool/squid 65536 16 256 min-size=4MB However looking at /var/spool/squid cache dir, I see smaller objects also: /var/spool/squid# ls -lah 00/00|grep K|head -n3 drwxr-x--- 2 proxy proxy 4.0K 2010-10-19 21:56 . drwxr-x--- 258 proxy proxy 8.0K 2010-10-19 20:31 .. -rw-r- 1 proxy proxy 73K 2010-10-19 20:35 I tried also with min-size=4194304 with no luck Is this an intended behaviour or am I misunderstanding this functionality? -- System Information: Debian Release: 5.0.6 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages squid depends on: ii adduser 3.110add and remove users and groups ii debconf [debcon 1.5.24 Debian configuration management sy ii libc6 2.7-18lenny4 GNU C Library: Shared libraries ii libcomerr2 1.41.3-1 common error description library ii libdb4.64.6.21-11Berkeley v4.6 Database Libraries [ ii libkrb531.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries ii libldap-2.4-2 2.4.11-1+lenny2 OpenLDAP libraries ii libpam0g1.0.1-5+lenny1 Pluggable Authentication Modules l ii logrotate 3.7.1-5 Log rotation utility ii lsb-base3.2-20 Linux Standard Base 3.2 init scrip ii netbase 4.34 Basic TCP/IP networking system ii squid-common2.7.STABLE3-4.1lenny1Internet object cache (WWW proxy c squid recommends no packages. Versions of packages squid suggests: pn logcheck-database (no description available) pn resolvconf (no description available) ii smbclient 2:3.4.8~dfsg-2~bpo50+1 command-line SMB/CIFS clients for pn squid-cgi (no description available) pn squidclient(no description available) pn winbind(no description available) -- debconf information: squid/fix_cachedir_perms: false squid/fix_lines: true