https://bugzilla.wikimedia.org/show_bug.cgi?id=41113

--- Comment #11 from Aaron Schulz <[email protected]> 2012-10-18 21:06:55 
UTC ---
(In reply to comment #3)
> According to eval.php:
> > $be = FileBackendGroup::singleton()->get( 'local-swift' );
> 
> > $root = $be->getRootStoragePath() . '/local-thumb';
> 
> > $obj = '3/34/Flag_of_El_Salvador.svg/25px-Flag_of_El_Salvador.svg.png';
> 
> > var_dump( $be->getFileStat( array( 'src' => "$root/$obj" ) ) );
> bool(false)
> 

According to Asher, some of the cached stat entries are bogus. This causes
thumb.php to send a 200 status, length header, and so on and then try to stream
the body of a file that does not exist (which streams the literal swift error
html). This gets cached by the squids (apparently they ignore the
content-length mismatch).

There are few stat cache update failures showing up in the logs. I've made some
code cleanups in https://gerrit.wikimedia.org/r/#/c/28559/ to improve cache key
normalization, but I have some doubts as to whether that is at play here.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to