what version of squid are u using ?
-----Original message----- From: nx13372 [EMAIL PROTECTED] Date: Fri, 30 Jul 2004 15:52:19 +0300 To: [EMAIL PROTECTED] Subject: [squid-users] squid don't cache > Hi all, > All i do, was: > #/etc/init.d/squid stop > #rm -fr /var/spool/squid > #rm /var/log/squid > #squid -z > #/etc/init.d/squid restart > Squid starts ok. > Now squid works, but don't cache. The > #du -sh /var/spool/squid is always 16452! > Since i have 3 squid.conf.x in /etc/squid/ i already copy an older > configuration for squid.conf, but thas nothing wrong with my actual > squid.conf. It's working about 1 year. The owner and group of all > related squid files is proxy. > I'm using Debian Sid and when i upgrade squid i always keep my > configuration file. > It's a transparent proxy, and my rules in iptables are correct (are the > same!). > > thanks in advance > > The last lines in cache.log: > 2004/07/29 16:36:52| store_swap_size = 0k > 2004/07/29 16:36:52| storeLateRelease: released 0 objects > 2004/07/30 08:54:41| Starting Squid Cache version 2.5.STABLE6 for > i386-debian-linux-gnu... > 2004/07/30 08:54:41| Process ID 20649 > 2004/07/30 08:54:41| With 1024 file descriptors available > 2004/07/30 08:54:41| DNS Socket created at 0.0.0.0, port 33003, FD 5 > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 08:54:41| User-Agent logging is disabled. > 2004/07/30 08:54:41| Referer logging is disabled. > 2004/07/30 08:54:41| Unlinkd pipe opened on FD 10 > 2004/07/30 08:54:41| Swap maxSize 40960000 KB, estimated 3150769 objects > 2004/07/30 08:54:41| Target number of buckets: 157538 > 2004/07/30 08:54:41| Using 262144 Store buckets > 2004/07/30 08:54:41| Max Mem size: 393216 KB > 2004/07/30 08:54:41| Max Swap size: 40960000 KB > 2004/07/30 08:54:41| Local cache digest enabled; rebuild/rewrite every > 3600/3600 sec > 2004/07/30 08:54:41| Rebuilding storage in /var/spool/squid (DIRTY) > 2004/07/30 08:54:41| Using Least Load store dir selection > 2004/07/30 08:54:41| Current Directory is / > 2004/07/30 08:54:41| Loaded Icons. > 2004/07/30 08:54:41| Accepting HTTP connections at 0.0.0.0, port 3128, > FD 11. > 2004/07/30 08:54:41| Accepting HTTP connections at 0.0.0.0, port 80, FD 12. > 2004/07/30 08:54:41| Accepting ICP messages at 0.0.0.0, port 3130, FD 13. > 2004/07/30 08:54:41| HTCP Disabled. > 2004/07/30 08:54:41| WCCP Disabled. > 2004/07/30 08:54:41| Ready to serve requests. > 2004/07/30 08:54:41| Done scanning /var/spool/squid swaplog (0 entries) > 2004/07/30 08:54:41| Finished rebuilding storage from disk. > 2004/07/30 08:54:41| 0 Entries scanned > 2004/07/30 08:54:41| 0 Invalid entries. > 2004/07/30 08:54:41| 0 With invalid flags. > 2004/07/30 08:54:41| 0 Objects loaded. > 2004/07/30 08:54:41| 0 Objects expired. > 2004/07/30 08:54:41| 0 Objects cancelled. > 2004/07/30 08:54:41| 0 Duplicate URLs purged. > 2004/07/30 08:54:41| 0 Swapfile clashes avoided. > 2004/07/30 08:54:41| Took 0.3 seconds ( 0.0 objects/sec). > 2004/07/30 08:54:41| Beginning Validation Procedure > 2004/07/30 08:54:41| Completed Validation Procedure > 2004/07/30 08:54:41| Validated 0 Entries > 2004/07/30 08:54:41| store_swap_size = 0k > 2004/07/30 08:54:42| storeLateRelease: released 0 objects > 2004/07/30 10:13:21| Preparing for shutdown after 1742 requests > 2004/07/30 10:13:21| Waiting 30 seconds for active connections to finish > 2004/07/30 10:13:21| FD 11 Closing HTTP connection > 2004/07/30 10:13:21| FD 12 Closing HTTP connection > 2004/07/30 10:13:52| Shutting down... > 2004/07/30 10:13:52| FD 13 Closing ICP connection > 2004/07/30 10:13:52| Closing unlinkd pipe on FD 10 > 2004/07/30 10:13:52| storeDirWriteCleanLogs: Starting... > 2004/07/30 10:13:52| Finished. Wrote 0 entries. > 2004/07/30 10:13:52| Took 0.0 seconds ( 0.0 entries/sec). > CPU Usage: 6.010 seconds = 3.830 user + 2.180 sys > Maximum Resident Size: 0 KB > Page faults with physical i/o: 456 > Memory usage for squid via mallinfo(): > total space in arena: 30544 KB > Ordinary blocks: 27775 KB 228 blks > Small blocks: 0 KB 0 blks > Holding blocks: 1220 KB 2 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 2769 KB > Total in use: 28995 KB 95% > Total free: 2769 KB 9% > 2004/07/30 10:13:52| Squid Cache (Version 2.5.STABLE6): Exiting normally. > 2004/07/30 10:13:53| Starting Squid Cache version 2.5.STABLE6 for > i386-debian-linux-gnu... > 2004/07/30 10:13:53| Process ID 21311 > 2004/07/30 10:13:53| With 1024 file descriptors available > 2004/07/30 10:13:53| DNS Socket created at 0.0.0.0, port 33020, FD 5 > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| Adding nameserver xx.xx.xx.xx from /etc/resolv.conf > 2004/07/30 10:13:53| User-Agent logging is disabled. > 2004/07/30 10:13:53| Referer logging is disabled. > 2004/07/30 10:13:53| Unlinkd pipe opened on FD 10 > 2004/07/30 10:13:53| Swap maxSize 40960000 KB, estimated 3150769 objects > 2004/07/30 10:13:53| Target number of buckets: 157538 > 2004/07/30 10:13:53| Using 262144 Store buckets > 2004/07/30 10:13:53| Max Mem size: 393216 KB > 2004/07/30 10:13:53| Max Swap size: 40960000 KB > 2004/07/30 10:13:53| Local cache digest enabled; rebuild/rewrite every > 3600/3600 sec > 2004/07/30 10:13:53| Rebuilding storage in /var/spool/squid (CLEAN) > 2004/07/30 10:13:53| Using Least Load store dir selection > 2004/07/30 10:13:53| Current Directory is / > 2004/07/30 10:13:53| Loaded Icons. > 2004/07/30 10:13:53| Accepting HTTP connections at 0.0.0.0, port 3128, > FD 11. > 2004/07/30 10:13:53| Accepting HTTP connections at 0.0.0.0, port 80, FD 12. > 2004/07/30 10:13:53| Accepting ICP messages at 0.0.0.0, port 3130, FD 13. > 2004/07/30 10:13:53| HTCP Disabled. > 2004/07/30 10:13:53| WCCP Disabled. > 2004/07/30 10:13:53| Ready to serve requests. > 2004/07/30 10:13:53| Done scanning /var/spool/squid swaplog (0 entries) > 2004/07/30 10:13:53| Finished rebuilding storage from disk. > 2004/07/30 10:13:53| 0 Entries scanned > 2004/07/30 10:13:53| 0 Invalid entries. > 2004/07/30 10:13:53| 0 With invalid flags. > 2004/07/30 10:13:53| 0 Objects loaded. > 2004/07/30 10:13:53| 0 Objects expired. > 2004/07/30 10:13:53| 0 Objects cancelled. > 2004/07/30 10:13:53| 0 Duplicate URLs purged. > 2004/07/30 10:13:53| 0 Swapfile clashes avoided. > 2004/07/30 10:13:53| Took 0.3 seconds ( 0.0 objects/sec). > 2004/07/30 10:13:53| Beginning Validation Procedure > 2004/07/30 10:13:53| Completed Validation Procedure > 2004/07/30 10:13:53| Validated 0 Entries > 2004/07/30 10:13:53| store_swap_size = 0k > 2004/07/30 10:13:54| storeLateRelease: released 0 objects
