Re: [squid-users] Squid2.7STABLE6 with smoothwall ...

From: Asim Ahmed _at_ Folio3 <_at_>
Date: Wed, 02 Dec 2009 16:30:15 +0500

Asim Ahmed @ Folio3 wrote:
> Hi Amos,
>
> here is the full text available in cache.log (sorry if i m making a
> mess) but i hope it will help u to help me:) thanks for other
> suggestion about timed access etc. I'll definitely incorporate those.
>
> 2009/12/02 00:05:31| Preparing for shutdown after 0 requests
> 2009/12/02 00:05:31| Waiting 5 seconds for active connections to finish
> 2009/12/02 00:05:31| FD 13 Closing HTTP connection
> 2009/12/02 00:05:35| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:05:35| Process ID 2328
> 2009/12/02 00:05:35| With 1024 file descriptors available
> 2009/12/02 00:05:35| Using poll for the IO loop
> 2009/12/02 00:05:35| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 00:05:35| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:05:35| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:05:35| Unlinkd pipe opened on FD 12
> 2009/12/02 00:05:35| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:05:35| Target number of buckets: 24197
> 2009/12/02 00:05:35| Using 32768 Store buckets
> 2009/12/02 00:05:35| Max Mem size: 1048576 KB
> 2009/12/02 00:05:35| Max Swap size: 5242880 KB
> 2009/12/02 00:05:35| Store logging disabled
> 2009/12/02 00:05:35| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:05:35| Using Least Load store dir selection
> 2009/12/02 00:05:35| Current Directory is /
> 2009/12/02 00:05:35| Loaded Icons.
> 2009/12/02 00:05:35| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 14.
> 2009/12/02 00:05:35| WCCP Disabled.
> 2009/12/02 00:05:35| Ready to serve requests.
> 2009/12/02 00:05:35| Done reading /var/spool/squid/cache swaplog (0
> entries)
> 2009/12/02 00:05:35| Finished rebuilding storage from disk.
> 2009/12/02 00:05:35| 0 Entries scanned
> 2009/12/02 00:05:35| 0 Invalid entries.
> 2009/12/02 00:05:35| 0 With invalid flags.
> 2009/12/02 00:05:35| 0 Objects loaded.
> 2009/12/02 00:05:35| 0 Objects expired.
> 2009/12/02 00:05:35| 0 Objects cancelled.
> 2009/12/02 00:05:35| 0 Duplicate URLs purged.
> 2009/12/02 00:05:35| 0 Swapfile clashes avoided.
> 2009/12/02 00:05:35| Took 0.3 seconds ( 0.0 objects/sec).
> 2009/12/02 00:05:35| Beginning Validation Procedure
> 2009/12/02 00:05:35| Completed Validation Procedure
> 2009/12/02 00:05:35| Validated 0 Entries
> 2009/12/02 00:05:35| store_swap_size = 0k
> 2009/12/02 00:05:36| storeLateRelease: released 0 objects
> 2009/12/02 00:11:27| Reconfiguring Squid Cache (version 2.7.STABLE5)...
> 2009/12/02 00:11:27| FD 14 Closing HTTP connection
> 2009/12/02 00:11:27| logfileClose: closing log /var/log/squid/access.log
> 2009/12/02 00:11:27| Including Configuration File:
> /var/smoothwall/proxy/squid.conf (depth 0)
> 2009/12/02 00:11:27| Cache dir '/var/spool/squid/cache' size remains
> unchanged at 5242880 KB
> 2009/12/02 00:11:27| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:11:27| Store logging disabled
> 2009/12/02 00:11:27| DNS Socket created at 0.0.0.0, port 32768, FD 8
> 2009/12/02 00:11:27| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:11:27| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 11.
> 2009/12/02 00:11:27| WCCP Disabled.
> 2009/12/02 00:11:27| Loaded Icons.
> 2009/12/02 00:11:27| Ready to serve requests.
> 2009/12/02 00:12:04| Preparing for shutdown after 233 requests
> 2009/12/02 00:12:04| Waiting 5 seconds for active connections to finish
> 2009/12/02 00:12:04| FD 11 Closing HTTP connection
> 2009/12/02 00:12:08| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:12:08| Process ID 2406
> 2009/12/02 00:12:08| With 1024 file descriptors available
> 2009/12/02 00:12:08| Using poll for the IO loop
> 2009/12/02 00:12:08| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 00:12:08| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:12:08| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:12:08| Unlinkd pipe opened on FD 12
> 2009/12/02 00:12:08| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:12:08| Target number of buckets: 24197
> 2009/12/02 00:12:08| Using 32768 Store buckets
> 2009/12/02 00:12:08| Max Mem size: 1048576 KB
> 2009/12/02 00:12:08| Max Swap size: 5242880 KB
> 2009/12/02 00:12:08| Store logging disabled
> 2009/12/02 00:12:08| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:12:08| Using Least Load store dir selection
> 2009/12/02 00:12:08| Current Directory is /
> 2009/12/02 00:12:08| Loaded Icons.
> 2009/12/02 00:12:08| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 14.
> 2009/12/02 00:12:08| WCCP Disabled.
> 2009/12/02 00:12:08| Ready to serve requests.
> 2009/12/02 00:12:08| Done reading /var/spool/squid/cache swaplog (87
> entries)
> 2009/12/02 00:12:08| Finished rebuilding storage from disk.
> 2009/12/02 00:12:08| 87 Entries scanned
> 2009/12/02 00:12:08| 0 Invalid entries.
> 2009/12/02 00:12:08| 0 With invalid flags.
> 2009/12/02 00:12:08| 87 Objects loaded.
> 2009/12/02 00:12:08| 0 Objects expired.
> 2009/12/02 00:12:08| 0 Objects cancelled.
> 2009/12/02 00:12:08| 0 Duplicate URLs purged.
> 2009/12/02 00:12:08| 0 Swapfile clashes avoided.
> 2009/12/02 00:12:08| Took 0.3 seconds ( 310.7 objects/sec).
> 2009/12/02 00:12:08| Beginning Validation Procedure
> 2009/12/02 00:12:08| Completed Validation Procedure
> 2009/12/02 00:12:08| Validated 87 Entries
> 2009/12/02 00:12:08| store_swap_size = 615k
> 2009/12/02 00:12:09| storeLateRelease: released 0 objects
> 2009/12/02 00:12:19| Preparing for shutdown after 0 requests
> 2009/12/02 00:12:19| Waiting 5 seconds for active connections to finish
> 2009/12/02 00:12:19| FD 14 Closing HTTP connection
> 2009/12/02 00:12:23| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:12:23| Process ID 2422
> 2009/12/02 00:12:23| With 1024 file descriptors available
> 2009/12/02 00:12:23| Using poll for the IO loop
> 2009/12/02 00:12:23| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 00:12:23| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:12:23| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:12:23| Unlinkd pipe opened on FD 12
> 2009/12/02 00:12:23| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:12:23| Target number of buckets: 24197
> 2009/12/02 00:12:23| Using 32768 Store buckets
> 2009/12/02 00:12:23| Using 32768 Store buckets
> 2009/12/02 00:12:23| Max Mem size: 1048576 KB
> 2009/12/02 00:12:23| Max Swap size: 5242880 KB
> 2009/12/02 00:12:23| Store logging disabled
> 2009/12/02 00:12:23| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:12:23| Using Least Load store dir selection
> 2009/12/02 00:12:23| Current Directory is /
> 2009/12/02 00:12:23| Loaded Icons.
> 2009/12/02 00:12:24| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 14.
> 2009/12/02 00:12:24| WCCP Disabled.
> 2009/12/02 00:12:24| Ready to serve requests.
> 2009/12/02 00:12:24| Done reading /var/spool/squid/cache swaplog (87
> entries)
> 2009/12/02 00:12:24| Finished rebuilding storage from disk.
> 2009/12/02 00:12:24| 87 Entries scanned
> 2009/12/02 00:12:24| 0 Invalid entries.
> 2009/12/02 00:12:24| 0 With invalid flags.
> 2009/12/02 00:12:24| 87 Objects loaded.
> 2009/12/02 00:12:24| 0 Objects expired.
> 2009/12/02 00:12:24| 0 Objects cancelled.
> 2009/12/02 00:12:24| 0 Duplicate URLs purged.
> 2009/12/02 00:12:24| 0 Swapfile clashes avoided.
> 2009/12/02 00:12:24| Took 0.3 seconds ( 310.8 objects/sec).
> 2009/12/02 00:12:24| Beginning Validation Procedure
> 2009/12/02 00:12:24| Completed Validation Procedure
> 2009/12/02 00:12:24| Validated 87 Entries
> 2009/12/02 00:12:24| store_swap_size = 615k
> 2009/12/02 00:12:24| storeLateRelease: released 0 objects
> 2009/12/02 00:20:33| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:20:33| Process ID 2540
> 2009/12/02 00:20:33| With 1024 file descriptors available
> 2009/12/02 00:20:33| Using poll for the IO loop
> 2009/12/02 00:20:33| DNS Socket created at 0.0.0.0, port 32768, FD 5
> 2009/12/02 00:20:33| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:20:33| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:20:33| Unlinkd pipe opened on FD 10
> 2009/12/02 00:20:33| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:20:33| Target number of buckets: 24197
> 2009/12/02 00:20:33| Using 32768 Store buckets
> 2009/12/02 00:20:33| Max Mem size: 1048576 KB
> 2009/12/02 00:20:33| Max Swap size: 5242880 KB
> 2009/12/02 00:20:33| Store logging disabled
> 2009/12/02 00:20:33| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:20:33| Using Least Load store dir selection
> 2009/12/02 00:20:33| Current Directory is /root
> 2009/12/02 00:20:33| Loaded Icons.
> 2009/12/02 00:20:33| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 12.
> 2009/12/02 00:20:33| WCCP Disabled.
> 2009/12/02 00:20:33| Ready to serve requests.
> 2009/12/02 00:20:33| Done reading /var/spool/squid/cache swaplog (87
> entries)
> 2009/12/02 00:20:33| Finished rebuilding storage from disk.
> 2009/12/02 00:20:33| 87 Entries scanned
> 2009/12/02 00:20:33| 0 Invalid entries.
> 2009/12/02 00:20:33| 0 With invalid flags.
> 2009/12/02 00:20:33| 87 Objects loaded.
> 2009/12/02 00:20:33| 0 Objects expired.
> 2009/12/02 00:20:33| 0 Objects cancelled.
> 2009/12/02 00:20:33| 0 Duplicate URLs purged.
> 2009/12/02 00:20:33| 0 Swapfile clashes avoided.
> 2009/12/02 00:20:33| Took 0.3 seconds ( 322.1 objects/sec).
> 2009/12/02 00:20:33| Beginning Validation Procedure
> 2009/12/02 00:20:33| Completed Validation Procedure
> 2009/12/02 00:20:33| Validated 87 Entries
> 2009/12/02 00:20:33| store_swap_size = 615k
> 2009/12/02 00:20:34| storeLateRelease: released 0 objects
> 2009/12/02 00:20:53| Preparing for shutdown after 0 requests
> 2009/12/02 00:20:53| Waiting 5 seconds for active connections to finish
> 2009/12/02 00:20:53| FD 12 Closing HTTP connection
> 2009/12/02 00:20:57| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:20:57| Process ID 2557
> 2009/12/02 00:20:57| With 1024 file descriptors available
> 2009/12/02 00:20:57| Using poll for the IO loop
> 2009/12/02 00:20:57| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 00:20:57| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:20:57| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:20:57| Unlinkd pipe opened on FD 12
> 2009/12/02 00:20:57| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:20:57| Target number of buckets: 24197
> 2009/12/02 00:20:57| Using 32768 Store buckets
> 2009/12/02 00:20:57| Max Mem size: 1048576 KB
> 2009/12/02 00:20:57| Max Swap size: 5242880 KB
> 2009/12/02 00:20:57| Store logging disabled
> 2009/12/02 00:20:57| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:20:57| Using Least Load store dir selection
> 2009/12/02 00:20:57| Current Directory is /
> 2009/12/02 00:20:57| Loaded Icons.
> 2009/12/02 00:20:57| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 14.
> 2009/12/02 00:20:57| WCCP Disabled.
> 2009/12/02 00:20:57| Ready to serve requests.
> 2009/12/02 00:20:57| Done reading /var/spool/squid/cache swaplog (87
> entries)
> 2009/12/02 00:20:57| Finished rebuilding storage from disk.
> 2009/12/02 00:20:57| 87 Entries scanned
> 2009/12/02 00:20:57| 0 Invalid entries.
> 2009/12/02 00:20:57| 0 With invalid flags.
> 2009/12/02 00:20:57| 87 Objects loaded.
> 2009/12/02 00:20:57| 0 Objects expired.
> 2009/12/02 00:20:57| 0 Objects cancelled.
> 2009/12/02 00:20:57| 0 Duplicate URLs purged.
> 2009/12/02 00:20:57| 0 Swapfile clashes avoided.
> 2009/12/02 00:20:57| Took 0.3 seconds ( 321.0 objects/sec).
> 2009/12/02 00:20:57| Beginning Validation Procedure
> 2009/12/02 00:20:57| Completed Validation Procedure
> 2009/12/02 00:20:57| Validated 87 Entries
> 2009/12/02 00:20:57| store_swap_size = 615k
> 2009/12/02 00:20:58| storeLateRelease: released 0 objects
> 2009/12/02 00:22:12| storeDirClean: WARNING: Creating
> /var/spool/squid/cache/0A/8F
> 2009/12/02 00:22:12| storeDirClean: /var/spool/squid/cache/0A/8F: (2)
> No such file or directory
> 2009/12/02 00:22:27| storeDirClean: WARNING: Creating
> /var/spool/squid/cache/0B/8F
> 2009/12/02 00:22:27| storeDirClean: /var/spool/squid/cache/0B/8F: (2)
> No such file or directory
> 2009/12/02 00:23:35| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 00:23:35| Process ID 2592
> 2009/12/02 00:23:35| With 1024 file descriptors available
> 2009/12/02 00:23:35| Using poll for the IO loop
> 2009/12/02 00:23:35| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 00:23:35| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 00:23:35| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 00:23:35| Unlinkd pipe opened on FD 12
> 2009/12/02 00:23:35| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 00:23:35| Target number of buckets: 24197
> 2009/12/02 00:23:35| Using 32768 Store buckets
> 2009/12/02 00:23:35| Max Mem size: 1048576 KB
> 2009/12/02 00:23:35| Max Swap size: 5242880 KB
> 2009/12/02 00:23:35| Store logging disabled
> 2009/12/02 00:23:35| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 00:23:35| Using Least Load store dir selection
> 2009/12/02 00:23:35| Current Directory is /
> 2009/12/02 00:23:35| Loaded Icons.
> 2009/12/02 00:23:35| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 13.
> 2009/12/02 00:23:35| WCCP Disabled.
> 2009/12/02 00:23:35| Ready to serve requests.
> 2009/12/02 00:23:35| Done scanning /var/spool/squid/cache (0 entries)
> 2009/12/02 00:23:35| Finished rebuilding storage from disk.
> 2009/12/02 00:23:35| 0 Entries scanned
> 2009/12/02 00:23:35| 0 Invalid entries.
> 2009/12/02 00:23:35| 0 With invalid flags.
> 2009/12/02 00:23:35| 0 Objects loaded.
> 2009/12/02 00:23:35| 0 Objects expired.
> 2009/12/02 00:23:35| 0 Objects cancelled.
> 2009/12/02 00:23:35| 0 Duplicate URLs purged.
> 2009/12/02 00:23:35| 0 Swapfile clashes avoided.
> 2009/12/02 00:23:35| Took 0.3 seconds ( 0.0 objects/sec).
> 2009/12/02 00:23:35| Beginning Validation Procedure
> 2009/12/02 00:23:35| Completed Validation Procedure
> 2009/12/02 00:23:35| Validated 0 Entries
> 2009/12/02 00:23:35| store_swap_size = 0k
> 2009/12/02 00:23:36| storeLateRelease: released 0 objects
> 2009/12/02 15:46:01| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:46:01| Process ID 1407
> 2009/12/02 15:46:01| With 1024 file descriptors available
> 2009/12/02 15:46:01| Using poll for the IO loop
> 2009/12/02 15:46:01| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:46:01| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:46:01| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:46:01| Unlinkd pipe opened on FD 12
> 2009/12/02 15:46:01| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:46:01| Target number of buckets: 24197
> 2009/12/02 15:46:01| Using 32768 Store buckets
> 2009/12/02 15:46:01| Max Mem size: 1048576 KB
> 2009/12/02 15:46:01| Max Swap size: 5242880 KB
> 2009/12/02 15:46:01| Store logging disabled
> 2009/12/02 15:46:01| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 15:46:01| Using Least Load store dir selection
> 2009/12/02 15:46:01| Current Directory is /
> 2009/12/02 15:46:01| Loaded Icons.
> 2009/12/02 15:46:01| Accepting transparently proxied HTTP connections
> at 192.168.4.102, port 800, FD 14.
> 2009/12/02 15:46:01| WCCP Disabled.
> 2009/12/02 15:46:01| Ready to serve requests.
> 2009/12/02 15:46:01| Done reading /var/spool/squid/cache swaplog (415
> entries)
> 2009/12/02 15:46:01| Finished rebuilding storage from disk.
> 2009/12/02 15:46:01| 361 Entries scanned
> 2009/12/02 15:46:01| 0 Invalid entries.
> 2009/12/02 15:46:01| 0 With invalid flags.
> 2009/12/02 15:46:01| 361 Objects loaded.
> 2009/12/02 15:46:01| 0 Objects expired.
> 2009/12/02 15:46:01| 54 Objects cancelled.
> 2009/12/02 15:46:01| 0 Duplicate URLs purged.
> 2009/12/02 15:46:01| 0 Swapfile clashes avoided.
> 2009/12/02 15:46:01| Took 0.4 seconds ( 878.5 objects/sec).
> 2009/12/02 15:46:01| Beginning Validation Procedure
> 2009/12/02 15:46:01| Completed Validation Procedure
> 2009/12/02 15:46:01| Validated 307 Entries
> 2009/12/02 15:46:01| store_swap_size = 27899k
> 2009/12/02 15:46:02| storeLateRelease: released 0 objects
> 2009/12/02 15:47:52| Preparing for shutdown after 0 requests
> 2009/12/02 15:47:52| Waiting 5 seconds for active connections to finish
> 2009/12/02 15:47:52| FD 14 Closing HTTP connection
> 2009/12/02 15:47:52| storeDirWriteCleanLogs: Starting...
> 2009/12/02 15:47:52| Finished. Wrote 307 entries.
> 2009/12/02 15:47:52| Took 0.0 seconds (1023333.3 entries/sec).
> FATAL: diskd exited unexpectedly
> Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
> 2009/12/02 15:49:40| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:49:40| Process ID 1400
> 2009/12/02 15:49:40| With 1024 file descriptors available
> 2009/12/02 15:49:40| Using poll for the IO loop
> 2009/12/02 15:49:40| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:49:40| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:49:40| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:49:40| Unlinkd pipe opened on FD 12
> 2009/12/02 15:49:40| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:49:40| Target number of buckets: 24197
> 2009/12/02 15:49:40| Using 32768 Store buckets
> 2009/12/02 15:49:40| Max Mem size: 1048576 KB
> 2009/12/02 15:49:40| Max Swap size: 5242880 KB
> 2009/12/02 15:49:40| Store logging disabled
> 2009/12/02 15:49:40| Rebuilding storage in /var/spool/squid/cache (CLEAN)
> 2009/12/02 15:49:40| Using Least Load store dir selection
> 2009/12/02 15:49:40| Current Directory is /
> 2009/12/02 15:49:40| Loaded Icons.
> 2009/12/02 15:49:40| commBind: Cannot bind socket FD 14 to
> 192.168.4.102:800: (99) Cannot assign requested address
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.016 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 2296 KB
> Ordinary blocks: 2285 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 408 KB 2 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 10 KB
> Total in use: 2693 KB 100%
> Total free: 10 KB 0%
> 2009/12/02 15:49:46| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:49:46| Process ID 1464
> 2009/12/02 15:49:46| With 1024 file descriptors available
> 2009/12/02 15:49:46| Using poll for the IO loop
> 2009/12/02 15:49:46| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:49:46| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:49:46| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:49:46| Unlinkd pipe opened on FD 12
> 2009/12/02 15:49:46| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:49:46| Target number of buckets: 24197
> 2009/12/02 15:49:46| Using 32768 Store buckets
> 2009/12/02 15:49:46| Max Mem size: 1048576 KB
> 2009/12/02 15:49:46| Max Swap size: 5242880 KB
> 2009/12/02 15:49:46| Store logging disabled
> 2009/12/02 15:49:46| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 15:49:46| Using Least Load store dir selection
> 2009/12/02 15:49:46| Current Directory is /
> 2009/12/02 15:49:46| Loaded Icons.
> 2009/12/02 15:49:47| commBind: Cannot bind socket FD 14 to
> 192.168.4.102:800: (99) Cannot assign requested address
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.016 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 2296 KB
> Ordinary blocks: 2285 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 408 KB 2 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 10 KB
> Total in use: 2693 KB 100%
>
> 2009/12/02 15:49:50| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:49:50| Process ID 1468
> 2009/12/02 15:49:50| With 1024 file descriptors available
> 2009/12/02 15:49:50| Using poll for the IO loop
> 2009/12/02 15:49:50| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:49:50| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:49:50| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:49:50| Unlinkd pipe opened on FD 12
> 2009/12/02 15:49:50| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:49:50| Target number of buckets: 24197
> 2009/12/02 15:49:50| Using 32768 Store buckets
> 2009/12/02 15:49:50| Max Mem size: 1048576 KB
> 2009/12/02 15:49:50| Max Swap size: 5242880 KB
> 2009/12/02 15:49:50| Store logging disabled
> 2009/12/02 15:49:50| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 15:49:50| Using Least Load store dir selection
> 2009/12/02 15:49:50| Current Directory is /
> 2009/12/02 15:49:50| Loaded Icons.
> 2009/12/02 15:49:50| commBind: Cannot bind socket FD 14 to
> 192.168.4.102:800: (99) Cannot assign requested address
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.008 user + 0.008 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 2296 KB
> Ordinary blocks: 2285 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 408 KB 2 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 10 KB
> Total in use: 2693 KB 100%
> Total free: 10 KB 0%
> 2009/12/02 15:49:53| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:49:53| Process ID 1473
> 2009/12/02 15:49:53| With 1024 file descriptors available
> 2009/12/02 15:49:53| Using poll for the IO loop
> 2009/12/02 15:49:53| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:49:53| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:49:53| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:49:53| Unlinkd pipe opened on FD 12
> 2009/12/02 15:49:53| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:49:53| Target number of buckets: 24197
> 2009/12/02 15:49:53| Using 32768 Store buckets
> 2009/12/02 15:49:53| Max Mem size: 1048576 KB
> 2009/12/02 15:49:53| Max Swap size: 5242880 KB
> 2009/12/02 15:49:53| Store logging disabled
> 2009/12/02 15:49:53| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 15:49:53| Using Least Load store dir selection
> 2009/12/02 15:49:53| Current Directory is /
> 2009/12/02 15:49:53| Loaded Icons.
> 2009/12/02 15:49:53| commBind: Cannot bind socket FD 14 to
> 192.168.4.102:800: (99) Cannot assign requested address
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.7.STABLE5): Terminated abnormally.
> CPU Usage: 0.016 seconds = 0.004 user + 0.012 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 2296 KB
> Ordinary blocks: 2285 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 408 KB 2 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 10 KB
> Total in use: 2693 KB 100%
> Total free: 10 KB 0%
> 2009/12/02 15:55:48| Starting Squid Cache version 2.7.STABLE5 for
> i686-pc-linux-gnu...
> 2009/12/02 15:55:48| Process ID 1619
> 2009/12/02 15:55:48| With 1024 file descriptors available
> 2009/12/02 15:55:48| Using poll for the IO loop
> 2009/12/02 15:55:48| DNS Socket created at 0.0.0.0, port 32768, FD 7
> 2009/12/02 15:55:48| Adding nameserver 127.0.0.1 from /etc/resolv.conf
> 2009/12/02 15:55:48| logfileOpen: opening log /var/log/squid/access.log
> 2009/12/02 15:55:48| Unlinkd pipe opened on FD 12
> 2009/12/02 15:55:48| Swap maxSize 5242880 + 1048576 KB, estimated 0
> objects
> 2009/12/02 15:55:48| Target number of buckets: 24197
> 2009/12/02 15:55:48| Using 32768 Store buckets
> 2009/12/02 15:55:48| Max Mem size: 1048576 KB
> 2009/12/02 15:55:48| Max Swap size: 5242880 KB
> 2009/12/02 15:55:48| Store logging disabled
> 2009/12/02 15:55:48| Rebuilding storage in /var/spool/squid/cache (DIRTY)
> 2009/12/02 15:55:48| Using Least Load store dir selection
> 2009/12/02 15:55:48| Current Directory is /
> 2009/12/02 15:55:48| Loaded Icons.
> 2009/12/02 15:55:49| Accepting transparently proxied HTTP connections
> at 192.168.4.123, port 800, FD 14.
> 2009/12/02 15:55:49| WCCP Disabled.
> 2009/12/02 15:55:49| Ready to serve requests.
> 2009/12/02 15:55:49| Done reading /var/spool/squid/cache swaplog (307
> entries)
> 2009/12/02 15:55:49| Finished rebuilding storage from disk.
> 2009/12/02 15:55:49| 307 Entries scanned
> 2009/12/02 15:55:49| 0 Invalid entries.
> 2009/12/02 15:55:49| 0 With invalid flags.
> 2009/12/02 15:55:49| 307 Objects loaded.
> 2009/12/02 15:55:49| 0 Objects expired.
> 2009/12/02 15:55:49| 0 Objects cancelled.
> 2009/12/02 15:55:49| 0 Duplicate URLs purged.
> 2009/12/02 15:55:49| 0 Swapfile clashes avoided.
> 2009/12/02 15:55:49| Took 0.3 seconds (1036.3 objects/sec).
> 2009/12/02 15:55:49| Beginning Validation Procedure
> 2009/12/02 15:55:49| Completed Validation Procedure
> 2009/12/02 15:55:49| Validated 307 Entries
> 2009/12/02 15:55:49| store_swap_size = 27899k
> 2009/12/02 15:55:49| storeLateRelease: released 0 objects
>
> Amos Jeffries wrote:
>> Asim Ahmed @ Folio3 wrote:
>>> One more thing to confirm. I am using IP ranges of my subnet to
>>> allow access to internet like this:
>>>
>>> #following lines are put in a file named "gerrys_groups.acl" and
>>> referenced in an ACL statement.
>>>
>>> 192.168.4.25-192.168.4.50
>>> 192.168.4.101-192.168.4.150
>>>
>>> Is this valid and supported by squid?
>>
>> Yes.
>>
>>>
>>> Asim Ahmed @ Folio3 wrote:
>>>> Hi,
>>>>
>>>> I am using smoothwall 3.0SP1-polar that comes with Squid2.7STABLE6
>>>> built in. I configure the squid with following parameters. Problem
>>>> is that squid works fine for 1 or 2 users but when I open it for
>>>> whole subnet or range of IPs, it crashes down. I mean it start
>>>> behaving wierdly like most of the time it does not respond to http
>>>> requests and users have to keep pressing F5 several times to get
>>>> the request done. Even access log does not show any requests coming
>>>> in. In cache log i find many entries like "Invalid request" etc.
>>>> Some times I also find
>>
>> That does not sound good. We will need some more details to track
>> down what it is though. Can you post a chunk of the log with those
>> lines in it and a few before and after please?
>>
>>
>>>> "Cache DIRTY" words during restart of squid. My ACLs are as follows:
>>>>
>>>> SQUID-Settings
>>>> ===========
>>>>
>>>> visible_hostname smoothwall
>>>> acl localnetgreen src 192.168.4.0/255.255.255.0
>>
>> AKA:
>> acl localnetgreen src 192.168.4.0/24
>>
>>>> http_port 192.168.4.123:800 transparent
>>>> cache_mem 1024 MB
>>>> maximum_object_size_in_memory 32 KB
>>>>
>>>> cache_replacement_policy heap GDSF
>>>> memory_replacement_policy heap GDSF
>>>>
>>>> half_closed_clients off
>>>>
>>>> cache_swap_high 100%
>>>> cache_swap_low 95%
>>>>
>>>> shutdown_lifetime 5 seconds
>>
>> This may explain "Cache DIRTY".
>>
>> 1) Squid has only 5 seconds to clear out its memory, finish all
>> active connections and dump the index state for 10GB of cached data
>> to disk.
>>
>> 2) If its not done in time it will abandon any unfinished tasks.
>>
>> 3) "Cache DIRTY" means that on startup Squid has detecetd the index
>> journal state to be incorrect and is moving to a background scan for
>> the entire disk cache object by object to recover the meta information.
>>
>>
>>>> icp_port 0
>>>>
>>>> acl QUERY urlpath_regex cgi-bin \?
>>>> no_cache deny QUERY
>>
>> Drop the above.
>>
>> Hmm. The HTTP basic requirement refresh_patterns are all missing.
>> Please add:
>>
>> refresh_pattern ^ftp: 1440 20% 10080
>> refresh_pattern ^gopher: 1440 0% 1440
>> refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
>> refresh_pattern . 0 20% 4320
>>
>>
>>>>
>>>> cache_effective_user squid
>>>> cache_effective_group squid
>>>>
>>
>> Not a particularly good idea to use cache_effective_group unless
>> absolutely necessary. Better to have the system 'squid' user a member
>> of the group 'squid' instead.
>>
>>>> pid_filename /var/run/squid.pid
>>>>
>>>> cache_access_log /var/log/squid/access.log
>>>> cache_log /var/log/squid/cache.log
>>>> cache_store_log none
>>>> error_directory /usr/share/errors/English
>>>> log_mime_hdrs off
>>>>
>>>> forwarded_for off
>>>>
>>>> acl all src 0.0.0.0/0.0.0.0
>>>> acl localhost src 127.0.0.1/255.255.255.255
>>
>> acl all src all
>> acl localhost src 127.0.0.1
>>
>>>>
>>>> acl SSL_ports port 445 443 441 563
>>>> acl Safe_ports port 80 # http
>>>> acl Safe_ports port 81 # smoothwall http
>>>> acl Safe_ports port 21 # ftp
>>>> acl Safe_ports port 445 443 441 563 # https, snews
>>>> acl Safe_ports port 70 # gopher
>>>> acl Safe_ports port 210 # wais
>>>> acl Safe_ports port 1025-65535 # unregistered ports
>>>> acl Safe_ports port 280 # http-mgmt
>>>> acl Safe_ports port 488 # gss-http
>>>> acl Safe_ports port 591 # filemaker
>>>> acl Safe_ports port 777 # multiling http
>>>> acl CONNECT method CONNECT
>>>> #######################################
>>>> # ACLs #
>>>> #######################################
>>>> acl super_users src "/var/smoothwall/proxy/f3_acls/super_users.acl"
>>>> acl ISP1_users src "/var/smoothwall/proxy/f3_acls/gerrys_groups.acl"
>>>> acl ISP2_users src "/var/smoothwall/proxy/f3_acls/netsat_groups.acl"
>>>> acl managers src "/var/smoothwall/proxy/f3_acls/managers.acl"
>>>> acl blocked_extensions urlpath_regex -i
>>>> "/var/smoothwall/proxy/f3_acls/blocked_extensions.acl"
>>>> acl blocked_sites url_regex -i
>>>> "/var/smoothwall/proxy/f3_acls/blocked_sites.acl"
>>>> acl blocked_request_mt req_mime_type -i
>>>> "/var/smoothwall/proxy/f3_acls/blocked_mimetypes.acl"
>>>> acl blocked_reply_mt rep_mime_type -i
>>>> "/var/smoothwall/proxy/f3_acls/blocked_mimetypes.acl"
>>>> acl gaming_sites url_regex -i
>>>> "/var/smoothwall/proxy/f3_acls/gaming_sites.acl"
>>>> acl server_machines src
>>>> "/var/smoothwall/proxy/f3_acls/server_machines.acl"
>>>> acl working_hours time MTWHF 09:00-12:30
>>>> acl working_hours time MTWHF 14:00-18:30
>>>> acl gaming_hours time MTWHF 21:00-23:59
>>>> acl gaming_hours time MTWHF 01:00-07:00
>>>> ########################################
>>>> # HTTP_ACCESS #
>>>> ########################################
>>>> http_access allow super_users
>>>> http_access deny blocked_sites working_hours
>>>> http_access deny blocked_request_mt working_hours
>>>> http_access deny blocked_reply_mt working_hours
>>
>> invalid: "http_access deny blocked_reply_mt "...
>>
>> Maybe you meant:
>> http_reply_access deny !super_users working_hours blocked_reply_mt
>> http_reply_access allow all
>>
>>>> http_access deny gaming_sites !gaming_hours
>>>> http_access allow managers
>>>> #http_access deny blocked_extensions working_hours
>>
>> One thing I note from all the above http_access lines is that you are
>> placing the regex pattern matches first.
>> regex in Squid is _the_ slowest ACL type to be using. It's best to
>> avoid it like plague where possible and to restrict when its used
>> where needed.
>>
>>
>> Without knowing details I'd guess that most of the blocked_sites and
>> gaming_sites lists can become a dstdomain ACL to avoid regex matching.
>>
>> Also placing the fast "working_hours" first on each line will reduce
>> the regex to only being tested when working_hours is true.
>>
>> For example:
>> http_access deny working_hours blocked_request_mt
>>
>>
>>>> http_access allow ISP1_users
>>>> #http_access allow ISP2_users
>>>> http_access allow server_machines
>>>> http_access deny localnetgreen
>>
>> Missing basic security:
>>
>> http_access deny all
>>
>>
>>>> umask 022
>>>>
>>>> maximum_object_size 4096 KB
>>>> minimum_object_size 0 KB
>>>>
>>>> # Smoothwall does not allow this parameter to be changed. I can
>>>> only change cache size
>>>> cache_dir diskd /var/spool/squid/cache 10240 16 256
>>>>
>>>> request_body_max_size 0 KB
>>>> reply_body_max_size 0 allow all
>>
>> defaults. Also the syntax is broken. Remove the two above.
>>
>>>>
>>>> logfile_rotate 0
>>>>
>>>> strip_query_terms off
>>>>
>>>> acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
>>>> upgrade_http0.9 deny shoutcast
>>>>
>>>>
>>>
>>
>> Amos
>

-- 
Regards,
Asim Ahmed Khan
IT Manager,
Folio3 (Pvt.) Ltd. www.folio3.com
Direct: 92-21-4323721-4 Ext 110
Email: aahmed_at_folio3.com
Received on Wed Dec 02 2009 - 11:30:32 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 02 2009 - 12:00:01 MST