RE: [squid-users] Cache corruption

From: Elsen Marc <elsen@dont-contact.us>
Date: Wed, 14 Jul 2004 14:09:59 +0200

 
> I have problems with a IPCop firewall running squid
> 2.5stable5, but similar problems
> have happened with 2.4 on this machine.
> After a clean stop and restart:
>
> The proxy is in transparent mode and calls an acl banlist of
> domain names
>
> 2004/07/14 13:45:08| Starting Squid Cache version 2.5.STABLE5
> for i386-pc-linux-
> gnu...
> 2004/07/14 13:45:08| Process ID 27392
> 2004/07/14 13:45:08| With 1024 file descriptors available
> 2004/07/14 13:45:08| DNS Socket created at 0.0.0.0, port 1033, FD 4
> 2004/07/14 13:45:08| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2004/07/14 13:45:08| Unlinkd pipe opened on FD 9
> 2004/07/14 13:45:08| Swap maxSize 262144 KB, estimated 20164 objects
> 2004/07/14 13:45:08| Target number of buckets: 1008
> 2004/07/14 13:45:08| Using 8192 Store buckets
> 2004/07/14 13:45:08| Max Mem size: 10240 KB
> 2004/07/14 13:45:08| Max Swap size: 262144 KB
> 2004/07/14 13:45:08| Store logging disabled
> 2004/07/14 13:45:08| Rebuilding storage in /var/log/cache (DIRTY)
> 2004/07/14 13:45:08| Using Least Load store dir selection
> 2004/07/14 13:45:08| Current Directory is /home/httpd/cgi-bin
> 2004/07/14 13:45:08| Loaded Icons.
> 2004/07/14 13:45:09| Accepting HTTP connections at
> 10.12.10.2, port 800, FD 10.
> 2004/07/14 13:45:09| WCCP Disabled.
> 2004/07/14 13:45:09| Ready to serve requests.
> 2004/07/14 13:45:09| Store rebuilding is 17.0% complete
> 2004/07/14 13:45:09| WARNING: newer swaplog entry for dirno
> 0, fileno 00000004
> 2004/07/14 13:45:09| WARNING: newer swaplog entry for dirno
> 0, fileno 00000005
> 2004/07/14 13:45:09| WARNING: newer swaplog entry for dirno
> 0, fileno 0000001A
> " " lots more of these
> 2004/07/14 13:45:09| WARNING: newer swaplog entry for dirno
> 0, fileno 00000C7A
> 2004/07/14 13:45:09| WARNING: newer swaplog entry for dirno
> 0, fileno 00000C7B
> 2004/07/14 13:45:09| Done reading /var/log/cache swaplog
> (24483 entries)
> 2004/07/14 13:45:09| Finished rebuilding storage from disk.
> 2004/07/14 13:45:09| 15880 Entries scanned
> 2004/07/14 13:45:09| 0 Invalid entries.
> 2004/07/14 13:45:09| 0 With invalid flags.
> 2004/07/14 13:45:09| 12807 Objects loaded.
> 2004/07/14 13:45:09| 0 Objects expired.
> 2004/07/14 13:45:09| 48 Objects cancelled.
> 2004/07/14 13:45:09| 610 Duplicate URLs purged.
> 2004/07/14 13:45:09| 3025 Swapfile clashes avoided.
> 2004/07/14 13:45:09| Took 1.1 seconds (11558.1 objects/sec).
> 2004/07/14 13:45:09| Beginning Validation Procedure
> 2004/07/14 13:45:09| Completed Validation Procedure
> 2004/07/14 13:45:09| Validated 12197 Entries
> 2004/07/14 13:45:09| store_swap_size = 408216k
> 2004/07/14 13:45:10| WARNING: Disk space over limit: 397312
> KB > 262144 KB
> 2004/07/14 13:45:10| storeLateRelease: released 0 objects
> 2004/07/14 13:45:21| WARNING: Disk space over limit: 368996
> KB > 262144 KB
>
> squid -z does not clear the disk space problem

  What if you delete the content of the cache dirs first before issuing :
  
        squid -z

 M.
Received on Wed Jul 14 2004 - 06:10:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT