Last modified: 2013-11-21 23:35:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44094, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42094 - Minifier cache + user-specific module timestamps = rapid objectcache growth
Minifier cache + user-specific module timestamps = rapid objectcache growth
Status: NEW
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-14 06:12 UTC by Roan Kattouw
Modified: 2013-11-21 23:35 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2012-11-14 06:12:09 UTC
Some of the timestamps in the startup module are user-specific, which means a lot of different versions of the startup module are served. These all get run through the minifier, which puts them in the minifier cache. This caches the result by MD5 hash, and the cache entry never expires. This is wasteful but OK in a system like memcached that does LRU eviction, but it's much less OK in a system without evictions, such as the objectcache table.

According to the report at https://www.mediawiki.org/wiki/Talk:ResourceLoader#Cache_consumption_20440 this leads to something like 30 MB/day of cache growth, which is bad. We should redesign the minifier cache to behave more gracefully.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links