← Back to team overview

orchestra team mailing list archive

[Bug 887186] Re: squid proxy big and small buckets not functioning correctly

 

I've verified this is still broken using the orchestra squid configuration on precise with squid3.
After generally acting as a squid proxy for some VM installs, my local system shows:

$ sudo du -hs /var/spool/squid3/*
[sudo] password for smoser: 
551M	/var/spool/squid3/big
17M	/var/spool/squid3/small


$ dpkg-query --show squid3
squid3	3.1.16-1ubuntu1


** Attachment added: "squid.conf used above"
   https://bugs.launchpad.net/ubuntu/+source/orchestra/+bug/887186/+attachment/2665649/+files/squid.conf

-- 
You received this bug notification because you are a member of
orchestra, which is subscribed to orchestra in Ubuntu.
https://bugs.launchpad.net/bugs/887186

Title:
  squid proxy big and small buckets not functioning correctly

Status in “orchestra” package in Ubuntu:
  New

Bug description:
  I'm running the oneiric ppa version of orchestra on natty:
  $ dpkg-query --show ubuntu-orchestra-provisioning-server squid
  squid   2.7.STABLE9-2.1ubuntu6
  ubuntu-orchestra-provisioning-server    2.21-0ubuntu1~ppa4

  My /etc/squid/squid.conf file has the following diff against what is in current precise /usr/share/orchestra/conf/squid.conf [1].
  $ diff -wu /tmp/squid.conf /etc/squid/squid.conf
  --- /tmp/squid.conf     2011-11-07 08:59:51.732258352 -0500
  +++ /etc/squid/squid.conf       2011-10-26 16:17:51.320501502 -0400
  @@ -55,6 +55,8 @@
   extension_methods REPORT MERGE MKACTIVITY CHECKOUT
   hosts_file /etc/hosts
   coredump_dir /var/spool/squid
  +
  +# changes over /usr/share/orchestra/conf/squid.conf
   maximum_object_size 750 MB
   cache_dir aufs /var/spool/squid/small 40000 16 256 max-size=40M
   cache_dir aufs /var/spool/squid/big 40000 16 256

  
  I did this:
  sudo sh -c 'du -hs /var/spool/squid/small /var/spool/squid/big'
  [sudo] password for smoser:
  17M     /var/spool/squid/small
  186M    /var/spool/squid/big

  Then, did an apt-get dist-upgrade -d to precise and I see afterwards:
  $ sudo sh -c 'du -hs /var/spool/squid/small /var/spool/squid/big'
  [sudo] password for smoser:
  17M     /var/spool/squid/small
  656M    /var/spool/squid/big

  The big dir grew significantly, while the small dir not at all.
  It seems like our 2 directores are not functioning as they should, as clearly most of that 'apt-get dist-upgrade' would have been under 40M files.

  
  --
  [1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/orchestra/precise/view/head:/provisioning-server/usr/share/orchestra/conf/squid.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orchestra/+bug/887186/+subscriptions


References