cache errors when upgrading from 1.1.21 to 1.1.22?

From: Joe Ramey <[email protected]>
Date: Fri, 26 Jun 1998 11:04:03 -0500

I just upgraded from squid 1.1.21 to squid 1.1.22. Should I have
removed my cache before doing this upgrade? I did not remove it, I
let 1.1.22 use the existing cache, and it caused some warnings I
hadn't seen before. First of all, I had several entries like this in
the cache.log at startup time:

1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00001748
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00009F2F
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00001BE4
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00009D96
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 0000458B
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 0000D9DC
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00008E34
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 00000468
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 0000BA89
1998/06/25 15:09:25| WARNING: newer swaplog entry for fileno 0000B81E

etc.

Then, once squid had finished initializing the cache, occasionally I
saw warnings like this:

1998/06/25 15:11:35| storeSwapInHandle: WARNING: Object size mismatch.
1998/06/25 15:11:35| --> 'http://www.stockmaster.com/sm/g/T/TXN.html'
1998/06/25 15:11:35| --> Expecting 10140 bytes from file: /cache/0A/ED/00008EDA
1998/06/25 15:11:35| --> Only read 650 bytes

1998/06/25 15:23:08| storeSwapInHandle: WARNING: Object size mismatch.
1998/06/25 15:23:08| --> 'http://mqgraphics.mapquest.com/gif/5.gif'
1998/06/25 15:23:08| --> Expecting 238 bytes from file: /cache/05/5A/000025A5
1998/06/25 15:23:08| --> Only read 2479 bytes

etc.

When I went to view some of these URLs, I found that squid had the
wrong object in the cache for each of them.

So, I stopped squid, cleared the cache, and restarted it. So far it's
working fine, so I'm assuming my old cache contents were the problem?

Joe
Received on Fri Jun 26 1998 - 09:05:30 MDT

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