squid proxy big and small buckets not functioning correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
orchestra (Ubuntu) |
Won't Fix
|
Undecided
|
Andres Rodriguez |
Bug Description
I'm running the oneiric ppa version of orchestra on natty:
$ dpkg-query --show ubuntu-
squid 2.7.STABLE9-
ubuntu-
My /etc/squid/
$ diff -wu /tmp/squid.conf /etc/squid/
--- /tmp/squid.conf 2011-11-07 08:59:51.732258352 -0500
+++ /etc/squid/
@@ -55,6 +55,8 @@
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
+
+# changes over /usr/share/
maximum_
cache_dir aufs /var/spool/
cache_dir aufs /var/spool/
I did this:
sudo sh -c 'du -hs /var/spool/
[sudo] password for smoser:
17M /var/spool/
186M /var/spool/
Then, did an apt-get dist-upgrade -d to precise and I see afterwards:
$ sudo sh -c 'du -hs /var/spool/
[sudo] password for smoser:
17M /var/spool/
656M /var/spool/
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.
Changed in orchestra (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Andres Rodriguez (andreserl) |
tags: | added: rls-p-tracking |
tags: | removed: rls-p-tracking |
Changed in orchestra (Ubuntu): | |
status: | Confirmed → Won't Fix |
Some more possibly relevant information:
$ sudo sh -c 'du -ks /var/spool/ squid/small' ; grep cache_dir /etc/squid/*.conf squid/small squid/big 40000 16 256 squid/small 40000 16 256 max-size=40M
16456 /var/spool/
cache_dir aufs /var/spool/
cache_dir aufs /var/spool/
/var/log/ squid/cache. log has: squid/big (DIRTY) squid/small (CLEAN) squid/small swaplog (0 entries) squid/big swaplog (1465 entries)
2011/11/07 09:14:38| Rebuilding storage in /var/spool/
2011/11/07 09:14:38| Rebuilding storage in /var/spool/
...
2011/11/07 09:14:38| Done reading /var/spool/
2011/11/07 09:14:38| Done reading /var/spool/
2011/11/07 09:14:38| Finished rebuilding storage from disk.