Rebuilding storage in cache dir #0 (DIRTY) after "reconfigure"

From: Eddy van Loo <eddy@dont-contact.us>
Date: Thu, 26 Nov 1998 09:42:09 +0100

One more try to get this to the list..

attached mail follows:


Hi,

(I posted this question earlier, but it seems that this only
reached the subscribers to the digest version of this list)

I've upgraded our production proxies to squid-2.1.PATCH1 over the
weekend.

Now I notice a different behaveour on "restarting" squid
(either by a kill -HUP or a "squid -k reconfigure":

It seems that squid is not properly writing out the cache.log (index),
or thinks it was not properly closed,
and therefore upon restarting it needs to rebuild the log or something.
This is especially the case (but not limited to) when squid has
active client connections when receiving the "reconfigure" signal.

This behaveour was not noticed in squid-2.0-RELEASE, which I ran
before on our caches.

Here's what I see in the cache.log:

1998/11/24 16:04:35| Restarting Squid Cache (version 2.1.PATCH1)...
1998/11/24 16:04:35| FD 36 Closing HTTP connection
1998/11/24 16:04:35| FD 37 Closing ICP connection
1998/11/24 16:04:38| Starting Squid Cache version 2.1.PATCH1 for
 i586-pc-linux-gcc
1998/11/24 16:04:38| Process ID 29820
1998/11/24 16:04:38| With 3000 file descriptors available
1998/11/24 16:04:38| Performing DNS Tests...
1998/11/24 16:04:38| Successful DNS name lookup tests...
1998/11/24 16:04:38| helperOpenServers: Starting 5 'dnsserver' processes
1998/11/24 16:04:38| Unlinkd pipe opened on FD 14
1998/11/24 16:04:38| Swap maxSize 3584000 KB, estimated 275692 objects
1998/11/24 16:04:38| Target number of buckets: 5513
1998/11/24 16:04:38| Using 8192 Store buckets, replacement runs every 10
 seconds
1998/11/24 16:04:38| Max Mem size: 16384 KB
1998/11/24 16:04:38| Max Swap size: 3584000 KB
1998/11/24 16:04:38| Local cache digest enabled; rebuild/rewrite every
 3600/3600
1998/11/24 16:04:38| Store logging disabled
1998/11/24 16:04:38| Rebuilding storage in Cache Dir #0 (DIRTY)
1998/11/24 16:04:38| Loaded Icons.
1998/11/24 16:04:38| Accepting HTTP connections on port 3128, FD 36.
1998/11/24 16:04:38| Accepting ICP messages on port 3130, FD 37.
1998/11/24 16:04:38| Ready to serve requests.
1998/11/24 16:04:40| Configuring Parent
info-old.nic.surfnet.nl/3128/3130
1998/11/24 16:04:40| Configuring Parent cache.utrecht.surf.net/3128/3130
1998/11/24 16:04:40| Configuring Sibling www.hzeeland.nl/3128/3130
1998/11/24 16:04:40| Configuring Sibling
www-proxy2.hzeeland.nl/3128/3130
1998/11/24 16:04:40| Configuring Sibling proxy.thrijswijk.nl/3128/3130
1998/11/24 16:04:45| 65536 Entries read so far.
1998/11/24 16:04:52| 131072 Entries read so far.
1998/11/24 16:04:59| 196608 Entries read so far.
1998/11/24 16:05:03| Done reading Cache Dir #0 swaplog (225086 entries)
1998/11/24 16:05:03| Finished rebuilding storage disk.
1998/11/24 16:05:03| 222577 Entries read from previous logfile.
1998/11/24 16:05:03| 0 Entries scanned from swap files.
1998/11/24 16:05:03| 0 Invalid entries.
1998/11/24 16:05:03| 0 With invalid flags.
1998/11/24 16:05:03| 220254 Objects loaded.
1998/11/24 16:05:03| 0 Objects expired.
1998/11/24 16:05:03| 2313 Objects cancelled.
1998/11/24 16:05:03| 5 Duplicate URLs purged.
1998/11/24 16:05:03| 5 Swapfile clashes avoided.
1998/11/24 16:05:03| Took 25 seconds (8810.2 objects/sec).
1998/11/24 16:05:03| Beginning Validation Procedure
1998/11/24 16:05:04| 65536 Entries Validated so far.
1998/11/24 16:05:05| 131072 Entries Validated so far.
1998/11/24 16:05:06| 196608 Entries Validated so far.
1998/11/24 16:05:07| Completed Validation Procedure
1998/11/24 16:05:07| Validated 220255 Entries
1998/11/24 16:05:07| store_swap_size = 2267240k

Regards,
Eddy, network specialist
Hogeschool Zeeland
http://www.HZeeland.nl/~eddy
Received on Thu Nov 26 1998 - 01:59:51 MST

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