[Bug 937987] [NEW] squid is loosing cache data when restarting

Cinquero 937987 at bugs.launchpad.net
Tue Feb 21 17:44:41 UTC 2012


Public bug reported:

Serving requests cached in memory works fine. However, after restarting
squid, all data is lost. Disk cache size is large enough.

store_swap_size look strange either. Number of entries should be around
750, but is displayed as 29.

cache.log:


2012/02/21 18:38:05| Starting Squid Cache version 3.1.18 for x86_64-pc-linux-gnu...
2012/02/21 18:38:05| Process ID 21976
2012/02/21 18:38:05| With 1024 file descriptors available
2012/02/21 18:38:05| Initializing IP Cache...
2012/02/21 18:38:05| DNS Socket created at [::], FD 5
2012/02/21 18:38:05| DNS Socket created at 0.0.0.0, FD 6
2012/02/21 18:38:05| Adding domain rz-ip.net from /etc/resolv.conf
2012/02/21 18:38:05| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2012/02/21 18:38:05| Unlinkd pipe opened on FD 11
2012/02/21 18:38:05| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2012/02/21 18:38:05| Store logging disabled
2012/02/21 18:38:05| Swap maxSize 1048576 + 262144 KB, estimated 100824 objects
2012/02/21 18:38:05| Target number of buckets: 5041
2012/02/21 18:38:05| Using 8192 Store buckets
2012/02/21 18:38:05| Max Mem  size: 262144 KB
2012/02/21 18:38:05| Max Swap size: 1048576 KB
2012/02/21 18:38:05| Version 1 of swap file with LFS support detected... 
2012/02/21 18:38:05| Rebuilding storage in /var/spool/squid3 (DIRTY)
2012/02/21 18:38:05| Using Least Load store dir selection
2012/02/21 18:38:05| Set Current Directory to /var/spool/squid3
2012/02/21 18:38:05| Loaded Icons.
2012/02/21 18:38:05| Accepting  HTTP connections at [::]:3128, FD 14.
2012/02/21 18:38:05| HTCP Disabled.
2012/02/21 18:38:05| Squid plugin modules loaded: 0
2012/02/21 18:38:05| Adaptation support is off.
2012/02/21 18:38:05| Ready to serve requests.
2012/02/21 18:38:05| WARNING: 1 invalid swap log entries found
2012/02/21 18:38:05| Done reading /var/spool/squid3 swaplog (657 entries)
2012/02/21 18:38:05| Finished rebuilding storage from disk.
2012/02/21 18:38:05|         2 Entries scanned
2012/02/21 18:38:05|         6 Invalid entries.
2012/02/21 18:38:05|         0 With invalid flags.
2012/02/21 18:38:05|         2 Objects loaded.
2012/02/21 18:38:05|         0 Objects expired.
2012/02/21 18:38:05|         0 Objects cancelled.
2012/02/21 18:38:05|         0 Duplicate URLs purged.
2012/02/21 18:38:05|         0 Swapfile clashes avoided.
2012/02/21 18:38:05|   Took 0.14 seconds ( 14.21 objects/sec).
2012/02/21 18:38:05| Beginning Validation Procedure
2012/02/21 18:38:05|   Completed Validation Procedure
2012/02/21 18:38:05|   Validated 29 Entries
2012/02/21 18:38:05|   store_swap_size = 10182199991074816
2012/02/21 18:38:06| storeLateRelease: released 0 objects

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: squid3 3.1.18-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
Date: Tue Feb 21 18:40:49 2012
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
SourcePackage: squid3
UpgradeStatus: Upgraded to precise on 2012-01-20 (32 days ago)
mtime.conffile..etc.squid3.squid.conf: 2012-02-15T19:29:06.982702

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

Title:
  squid is loosing cache data when restarting

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



More information about the Ubuntu-server-bugs mailing list