Problems with Squid 1.1.11 after moving cache directories

From: Armistead, Jason <ARMISTEJ@dont-contact.us>
Date: Wed, 22 Apr 1998 09:06:00 -0400

Hi

I stopped Squid completely, then installed a new 2.1Gb drive for the cache
as /disk6, and "mv"-ed the files to it from /disk3, then I modified the
squid.conf to point to /disk6 instead of /disk3

That all seems pretty straightforward, except I now see errors saying :

98/04/22 22:13:49| storeSwapInHandle: WARNING: Object size mismatch.
98/04/22 22:13:49| --> 'http://www.powerquest.com/images/hotopb.gif'
98/04/22 22:13:49| --> Expecting 1062 bytes from file:
/disk6/squid/cache/0C/51/0000551C
98/04/22 22:13:49| --> Only read 563 bytes
98/04/22 22:13:53| storeSwapInHandle: WARNING: Object size mismatch.
98/04/22 22:13:53| --> 'http://www.powerquest.com/images/ho5.gif'
98/04/22 22:13:53| --> Expecting 662 bytes from file:
/disk6/squid/cache/02/F7/00008F72
98/04/22 22:13:53| --> Only read 7459 bytes
98/04/22 22:13:53| storeSwapInHandle: WARNING: Object size mismatch.
98/04/22 22:13:53| --> 'http://www.powerquest.com/images/ho4.gif'
98/04/22 22:13:53| --> Expecting 700 bytes from file:
/disk6/squid/cache/02/C8/00006C82
98/04/22 22:13:53| --> Only read 2584 bytes
98/04/22 22:14:42| storeSwapInHandle: WARNING: Object size mismatch.
98/04/22 22:14:42| --> 'http://www.baxglobal.com/main_imgs/col2_row1.gif'
98/04/22 22:14:42| --> Expecting 14303 bytes from file:
/disk6/squid/cache/03/BE/0000DBE3
98/04/22 22:14:42| --> Only read 1787 bytes

And the wrong GIF / JPG / HTML / whatever is displayed.

Reviewing the archives shows that people have been having this problem, but
blaming it on bad RAM as a cause for the corrupt cache. I can't see that
adding a disk to an external cabinet could affect the RAM on the
motherboard.

I also tried a fsck on the disk, and it comes up clean (even after having
thrown 100% I/O to the disk to saturate it with file copies)

Up till the disk was replaced, we've never seen this. I've moved the
directory to another disk once before, but don't recall such a problem
occuring. Now it seems to be somewhat spread amongst the cache objects. Is
there any way of solving this or explaining why it's happening ?

Cheers and help needed.

Jason Armistead
armistej@oeca.otis.com

begin 600 winmail.dat
M>)\^(AX,`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````S@<$`!8`
M"0`&`````P`!`0$@@`,`#@```,X'!``6``@`.@`:``,`3@$!"8`!`"$```!!
M-C4P-44S,#,P1#E$,3$Q.4(P.#`P,#!&.#`S-3@P,0#"!@$$@`$`.@```%!R
M;V)L96US('=I=&@@4W%U:60@,2XQ+C$Q(&%F=&5R(&UO=FEN9R!C86-H92!D
M:7)E8W1O<FEE<P`Y%`$-@`0``@````(``@`!`Y`&`-0(```A````0``Y``#L
M1F7O;;T!`P`V```````#`"8``````!X`<``!````.@```%!R;V)L96US('=I
M=&@@4W%U:60@,2XQ+C$Q(&%F=&5R(&UO=FEN9R!C86-H92!D:7)E8W1O<FEE
M<P````(!<0`!````%@````&];>]PJC!>4*?9,!'1FP@``/@#6`$``!X`,4`!
M````%0```$%54U1,04XM05535%!/+4]:330T``````,`&D``````'@`P0`$`
M```5````05535$Q!3BU!55-44$\M3UI--#0``````P`90``````+``4`````
M``L`-0``````"P`&#``````+`!<,``````L``@P``````@$)$`$````Y!0``
M-04``.8)``!,6D9U^D$9Q8<`"@$-`T-T97AT`??_`J0#Y`7K`H,`4`+S!K0"
M@R8R`\4"`&-H"L!S9=AT,"`'$P*`?0J`",\_"=D"@`J$"S<2P@'0($@/`*`*
ML@J%"H!)('-T&&]P<`F`!@!Q=6D;&5`%H&T+4!.P96QYT"P@=&@)\"`+@!CP
M1P=`&A`94&$@;@?1,D`N,4=B(&0%$';\92`"$`7`&I$9P`#0'/&2800@+V0$
M`&LV&G"#`'`94")M=B(M&4']'.)F`Q`'D1D`&M`%0`-2_1VD,QIU&-`$80:0
M")`>U$IS&8(N!:!N9A^"<#YO"X`%0!^1';0:TV5AW1E0;R*0($07_%03<`5`
MUQLA&.`)X&T$('`50`)`RGD8X7(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+]Y/'X*+=A^"*<!T"'!XT5\?L@/P&I`?(QG!<`B0
M<_HI%_Q5C/`V@"8QC]<GX+\$(!5`"U$H8"@15Y`G'''_&Z!Y`B9AB`($`(,2
ME5($8/\<<![4'<`50&8P!;`G$(4SOXASA-0"("A@?<$<H65_5-YD`B"#D9?!
M)B-U$V`;<7-^Y2108V,(<2H`@Q%._RCA'\$F9!^1?=`8X(R1>++_&.`FP20Q
M?]!W01CP'-EJ4-]F$I9S?*($D!UA;B<0)^#W)Q`D88I`;'Y(!;$/``M3[RGR
M>+`G$!_`)P0@$W`9(?6C4S\7_$,:H`20@2$>0;T:H&R,\!N@"8!Y[TH=@'^`
M80<09K$D$A?U"L"HDVKT0&^:P2XSD)9A&=$7]0)]JU````!``$@``.Q&9>]M
MO0$"`?D_`0```%T`````````W*=`R,!"$!JTN0@`*R_A@@$`````````+T\]
M551#+T]5/4]4055-24XO0TX]35,@34%)3"!214-)4$E%3E13("]#3CU!55-4
M3$%.+4%54U103RU/6DTT-``````>`/@_`0```!$```!!<FUI<W1E860L($IA
M<V]N`````!X`.$`!````%0```$%54U1,04XM05535%!/+4]:330T``````(!
M^S\!````70````````#<IT#(P$(0&K2Y"``K+^&"`0`````````O3SU55$,O
M3U4]3U1!54U)3B]#3CU-4R!-04E,(%)%0TE0245.5%,@+T-./4%54U1,04XM
M05535%!/+4]:330T`````!X`^C\!````$0```$%R;6ES=&5A9"P@2F%S;VX`
M````'@`Y0`$````5````05535$Q!3BU!55-44$\M3UI--#0`````0``',!`%
M=%;N;;T!0``(,-`R&5?N;;T!'@`]``$````!`````````!X`'0X!````.@``
M`%!R;V)L96US('=I=&@@4W%U:60@,2XQ+C$Q(&%F=&5R(&UO=FEN9R!C86-H
M92!D:7)E8W1O<FEE<P````L`*0``````"P`C```````#``801/#;!0,`!Q#3
M!@```P`0$``````#`!$0`````!X`"!`!````90```$A)25-43U!01413455)
M1$-/35!,151%3%DL5$A%3DE.4U1!3$Q%1$%.15<R,4="1%))5D5&3U)42$5#
M04-(14%3+T1)4TLV+$%.1")-5B(M14142$5&24Q%4U1/251&4D]-+T0`````
"+8P=
`
end
Received on Wed Apr 22 1998 - 06:14:37 MDT

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