Search squid archive

file count mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this is squid 3.3.6

[root@LARS squid]# tail -n 30 /var/log/squid/cache.log
2013/07/03 06:34:59| Target number of buckets: 40392
2013/07/03 06:34:59| Using 65536 Store buckets
2013/07/03 06:34:59| Max Mem  size: 262144 KB
2013/07/03 06:34:59| Max Swap size: 10240000 KB
2013/07/03 06:34:59| Rebuilding storage in /home/squid (clean log)
2013/07/03 06:34:59| Using Least Load store dir selection
2013/07/03 06:34:59| Set Current Directory to /home/squid
2013/07/03 06:34:59| Loaded Icons.
2013/07/03 06:34:59| HTCP Disabled.
2013/07/03 06:34:59| Squid plugin modules loaded: 0
2013/07/03 06:34:59| Accepting NAT intercepted HTTP Socket connections at 
local=0.0.0.0:3128 remote=[::] FD 16 flags=41
2013/07/03 06:34:59| Accepting HTTP Socket connections at local=127.0.0.1:3129 
remote=[::] FD 17 flags=9
2013/07/03 06:34:59| Store rebuilding is 1.33% complete
2013/07/03 06:35:00| Done reading /home/squid swaplog (299709 entries)
2013/07/03 06:35:00| Finished rebuilding storage from disk.
2013/07/03 06:35:00|    299709 Entries scanned
2013/07/03 06:35:00|         0 Invalid entries.
2013/07/03 06:35:00|         0 With invalid flags.
2013/07/03 06:35:00|    299709 Objects loaded.
2013/07/03 06:35:00|         0 Objects expired.
2013/07/03 06:35:00|         0 Objects cancelled.
2013/07/03 06:35:00|         0 Duplicate URLs purged.
2013/07/03 06:35:00|         0 Swapfile clashes avoided.
2013/07/03 06:35:00|   Took 1.36 seconds (220842.74 objects/sec).
2013/07/03 06:35:00| Beginning Validation Procedure
2013/07/03 06:35:00|   262144 Entries Validated so far.
2013/07/03 06:35:00|   Completed Validation Procedure
2013/07/03 06:35:00|   Validated 299707 Entries
2013/07/03 06:35:00|   store_swap_size = 8047432.00 KB
2013/07/03 06:35:01| storeLateRelease: released 0 objects
[root@LARS squid]# find . -type f | wc -l
299706

this means there are 299706 files in /home/squid including the swap.state file 
so a total of 299705 objects on disk
but swap.state thinks there are 299709 files.

another thing I found.
cat /var/log/squid/cache.log | grep WARNING | grep swapin

2013/06/08 23:35:45| WARNING: 1 swapin MD5 mismatches
2013/06/09 00:28:59| WARNING: 10 swapin MD5 mismatches
2013/06/09 12:20:56| WARNING: 1 swapin MD5 mismatches
2013/06/09 12:25:46| WARNING: 10 swapin MD5 mismatches
2013/06/09 14:40:18| WARNING: 1 swapin MD5 mismatches
2013/06/10 02:31:02| WARNING: 1 swapin MD5 mismatches
2013/06/10 13:00:37| WARNING: 1 swapin MD5 mismatches
2013/06/10 22:59:53| WARNING: 1 swapin MD5 mismatches
2013/06/12 14:41:23| WARNING: 1 swapin MD5 mismatches
2013/06/15 04:37:03| WARNING: 1 swapin MD5 mismatches
2013/06/28 07:07:33| WARNING: 1 swapin MD5 mismatches
2013/06/28 21:51:19| WARNING: 1 swapin MD5 mismatches
2013/06/29 23:41:49| WARNING: 1 swapin MD5 mismatches
2013/06/30 04:14:24| WARNING: 10 swapin MD5 mismatches
2013/06/30 19:10:49| WARNING: 1 swapin MD5 mismatches
2013/06/30 19:10:49| WARNING: 10 swapin MD5 mismatches
2013/07/02 13:44:11| WARNING: 1 swapin MD5 mismatches
2013/07/02 13:48:35| WARNING: 10 swapin MD5 mismatches
2013/07/02 23:27:32| WARNING: 100 swapin MD5 mismatches
2013/07/03 06:02:18| WARNING: 1 swapin MD5 mismatches
2013/07/03 06:20:43| WARNING: 1 swapin MD5 mismatches
2013/07/03 06:26:59| WARNING: 10 swapin MD5 mismatches


1) Any of the above is something to worry about? 
2) Does squid resolve the file mismatch eventually as I reach the max size of 
cache dir?
3) the swapin MD5 mismatches problem. Is it something I can fix? If so, how?

Any other information I can post to help detect where the problem is?




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux