Re: storeSwapInFileOpened: Size mismatch

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 23 Sep 1998 23:37:14 +0200

Niall Doherty wrote:
>
> Hi,
>
> 1.2.beta25 - solaris 2.5.1
>
> Got these messages in my cache log - I guess it means that the index
> contents do not match the contents on disk.
>
> 1998/09/23 09:31:30| storeSwapInFileOpened: /var/cache/00/00/00000015:
> Size mismatch: 776(fstat) != 3785(object)
> 1998/09/23 09:31:31| storeSwapInFileOpened: /var/cache/00/00/00000017:
> Size mismatch: 2571(fstat) != 4159(object)
>
> What does Squid do in this case ?

1.2 should scrap the cached object and go direct.

Another note is that 1.2 validates the file size of all cached files on
startup. If you get these messages from a running and ready Squid (that
has completed the validation phase) then you probably have some kind of
disk problem, or there is a bug somewhere that needs to be fixed.

---
Henrik Nordström
Sparetime Squid Hacker
Received on Wed Sep 23 1998 - 15:16:26 MDT

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