Squid acts like a whore's drawers

From: Ian Diddams (Contractor) <[email protected]>
Date: Tue, 25 May 1999 08:50:21 +0100

We've got Squid 2 running over two boxes... pat which does the web
proxying, and visa that does the cacheing, and has access to the
firewall.

Squid runs happily for any length of time - days, hours, minutes, and
then falls over for no reason. Restarting it often takes several
attempts before it settles down.

Visa's cache log includes entries like

1999/05/24 14:01:07| Preparing for shutdown after 357615 requests
1999/05/24 14:01:07| Waiting 30 seconds for active connections to finish
1999/05/24 14:01:07| FD 53 Closing HTTP connection
1999/05/24 14:03:40| Starting Squid Cache version 2.2.STABLE2 for
sparc-sun-sola
ris2.6...
1999/05/24 14:03:40| Process ID 11648
1999/05/24 14:03:40| With 1024 file descriptors available
1999/05/24 14:03:40| Performing DNS Tests...
1999/05/24 14:03:40| Successful DNS name lookup tests...
1999/05/24 14:03:40| helperOpenServers: Starting 10 'dnsserver'
processes
1999/05/24 14:03:40| helperOpenServers: Starting 15 'redirector.pl'
processes
1999/05/24 14:03:41| Unlinkd pipe opened on FD 35
1999/05/24 14:03:41| Swap maxSize 7864320 KB, estimated 604947 objects
1999/05/24 14:03:41| Target number of buckets: 12098
1999/05/24 14:03:41| Using 16384 Store buckets, replacement runs every 5
seconds
1999/05/24 14:03:41| Max Mem size: 32768 KB
1999/05/24 14:03:41| Max Swap size: 7864320 KB
1999/05/24 14:03:41| Store logging disabled
1999/05/24 14:03:41| Rebuilding storage in Cache Dir #0 (DIRTY)
1999/05/24 14:03:41| Set Current Directory to /var/spool/http/cache
1999/05/24 14:03:41| Loaded Icons.
1999/05/24 14:03:41| Accepting HTTP connections on port 3128, FD 57.
1999/05/24 14:03:41| Accepting ICP messages on port 3130, FD 58.
1999/05/24 14:03:41| Ready to serve requests.
1999/05/24 14:03:45| 65536 Entries read so far.
1999/05/24 14:03:48| 131072 Entries read so far.
1999/05/24 14:03:51| 196608 Entries read so far.
1999/05/24 14:03:55| 262144 Entries read so far.
1999/05/24 14:03:58| Preparing for shutdown after 0 requests1999/05/24
14:03:58| Waiting 0 seconds for active connections to finish
1999/05/24 14:03:58| FD 57 Closing HTTP connection
1999/05/24 14:03:58| Done reading Cache Dir #0 swaplog (309378 entries)
1999/05/24 14:03:58| Finished rebuilding storage disk.
1999/05/24 14:03:58| 303267 Entries read from previous logfile.
1999/05/24 14:03:58| 0 Entries scanned from swap files.
1999/05/24 14:03:58| 0 Invalid entries.
1999/05/24 14:03:58| 0 With invalid flags.
1999/05/24 14:03:58| 297235 Objects loaded.
1999/05/24 14:03:58| 0 Objects expired.
1999/05/24 14:03:58| 6032 Objects cancelled.
1999/05/24 14:03:58| 0 Duplicate URLs purged.
1999/05/24 14:03:58| 0 Swapfile clashes avoided.
1999/05/24 14:03:58| Took 17 seconds (17484.4 objects/sec).
1999/05/24 14:03:58| Beginning Validation Procedure
1999/05/24 14:03:59| 65536 Entries Validated so far.
1999/05/24 14:03:59| 131072 Entries Validated so far.
1999/05/24 14:03:59| 196608 Entries Validated so far.
1999/05/24 14:03:59| Shutting down...
1999/05/24 14:03:59| FD 58 Closing ICP connection
1999/05/24 14:03:59| Closing unlinkd pipe on FD 35
1999/05/24 14:03:59| Not currently OK to rewrite swap log.
1999/05/24 14:03:59| storeDirWriteCleanLogs: Operation aborted.
CPU Usage: 16.990 seconds
Maximum Resident Size: 0 KB
Page faults with physical i/o: 95
1999/05/24 14:03:59| Open FD WRITING 6
/var/spool/http/logs/access.log
1999/05/24 14:03:59| Open FD 7
/var/spool/http/cache/swap.state
1999/05/24 14:03:59| Squid Cache (Version 2.2.STABLE2): Exiting
normally.
1999/05/24 14:04:05| Starting Squid Cache version 2.2.STABLE2 for
sparc-sun-sola
ris2.6...
1999/05/24 14:04:05| Process ID 11675
1999/05/24 14:04:05| With 1024 file descriptors available
1999/05/24 14:04:05| Performing DNS Tests...
1999/05/24 14:04:05| Successful DNS name lookup tests...
1999/05/24 14:04:05| helperOpenServers: Starting 10 'dnsserver'
processes
1999/05/24 14:04:05| helperOpenServers: Starting 15 'redirector.pl'
processes
1999/05/24 14:04:06| Unlinkd pipe opened on FD 35
1999/05/24 14:04:06| Swap maxSize 7864320 KB, estimated 604947 objects
1999/05/24 14:04:06| Target number of buckets: 12098
1999/05/24 14:04:06| Using 16384 Store buckets, replacement runs every 5
seconds
1999/05/24 14:04:06| Max Mem size: 32768 KB
1999/05/24 14:04:06| Max Swap size: 7864320 KB
1999/05/24 14:04:06| Store logging disabled
1999/05/24 14:04:06| Rebuilding storage in Cache Dir #0 (DIRTY)
1999/05/24 14:04:06| Set Current Directory to /var/spool/http/cache
1999/05/24 14:04:06| Loaded Icons.
1999/05/24 14:04:06| Accepting HTTP connections on port 3128, FD 57.
1999/05/24 14:04:06| Accepting ICP messages on port 3130, FD 58.
1999/05/24 14:04:06| Ready to serve requests.
1999/05/24 14:04:09| 65536 Entries read so far.
1999/05/24 14:04:12| 131072 Entries read so far.
1999/05/24 14:04:16| 196608 Entries read so far.
1999/05/24 14:04:20| 262144 Entries read so far.
1999/05/24 14:04:21| Starting Squid Cache version 2.2.STABLE2 for
sparc-sun-sola
ris2.6...
1999/05/24 14:04:21| Process ID 11708
1999/05/24 14:04:21| With 1024 file descriptors available
1999/05/24 14:04:21| Performing DNS Tests...
1999/05/24 14:04:21| Successful DNS name lookup tests...
1999/05/24 14:04:21| helperOpenServers: Starting 10 'dnsserver'
processes
1999/05/24 14:04:22| helperOpenServers: Starting 15 'redirector.pl'
processes
1999/05/24 14:04:23| Done reading Cache Dir #0 swaplog (309299 entries)
1999/05/24 14:04:23| Finished rebuilding storage disk.
1999/05/24 14:04:23| 303267 Entries read from previous logfile.
1999/05/24 14:04:23| 0 Entries scanned from swap files.
1999/05/24 14:04:23| 0 Invalid entries.
1999/05/24 14:04:23| 0 With invalid flags.
1999/05/24 14:04:23| 297235 Objects loaded.
1999/05/24 14:04:23| 0 Objects expired.
1999/05/24 14:04:23| 6032 Objects cancelled.
1999/05/24 14:04:23| 0 Duplicate URLs purged.
1999/05/24 14:04:23| 0 Swapfile clashes avoided.
1999/05/24 14:04:23| Took 17 seconds (17484.4 objects/sec).
1999/05/24 14:04:23| Beginning Validation Procedure
1999/05/24 14:04:24| 65536 Entries Validated so far.
1999/05/24 14:04:24| 131072 Entries Validated so far.
1999/05/24 14:04:24| Unlinkd pipe opened on FD 35
1999/05/24 14:04:24| Swap maxSize 7864320 KB, estimated 604947 objects
1999/05/24 14:04:24| Target number of buckets: 12098
1999/05/24 14:04:24| Using 16384 Store buckets, replacement runs every 5
seconds
1999/05/24 14:04:24| Max Mem size: 32768 KB
1999/05/24 14:04:24| Max Swap size: 7864320 KB
1999/05/24 14:04:24| Store logging disabled
1999/05/24 14:04:24| Rebuilding storage in Cache Dir #0 (DIRTY)
1999/05/24 14:04:24| Set Current Directory to /var/spool/http/cache
1999/05/24 14:04:24| 196608 Entries Validated so far.
1999/05/24 14:04:24| Loaded Icons.
1999/05/24 14:04:24| commBind: Cannot bind socket FD 57 to *:3128: (125)
Address
 already in use
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.2.STABLE2): Terminated abnormally.

etc etc etc

I don;t pretend top know the first thing about squid, I'm a copntractor
here and its a complete bloody shambles.

Anybody any ideas?

FWIW visa and pat are Ultra-2 running 2.6.

Ia
Received on Tue May 25 1999 - 02:13:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:25 MST