[squid-users] cache_dir aufs min-size

From: Costin Gusa <costinel_at_gmail.com>
Date: Tue, 19 Oct 2010 22:10:58 +0300

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 00000000

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.110 add 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.6 4.6.21-11 Berkeley v4.6 Database Libraries [
ii libkrb53 1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.11-1+lenny2 OpenLDAP libraries
ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
ii logrotate 3.7.1-5 Log rotation utility
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii netbase 4.34 Basic TCP/IP networking system
ii squid-common 2.7.STABLE3-4.1lenny1 Internet object cache (WWW proxy c

squid recommends no packages.

Versions of packages squid suggests:
pn logcheck-database <none> (no description available)
pn resolvconf <none> (no description available)
ii smbclient 2:3.4.8~dfsg-2~bpo50+1 command-line SMB/CIFS clients for
pn squid-cgi <none> (no description available)
pn squidclient <none> (no description available)
pn winbind <none> (no description available)

-- debconf information:
  squid/fix_cachedir_perms: false
  squid/fix_lines: true
Received on Tue Oct 19 2010 - 19:11:27 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 22 2010 - 12:00:03 MDT