Last modified: 2014-10-09 17:32:48 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 T73647, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71647 - OCG servers fill up their tmpfs
OCG servers fill up their tmpfs
Status: RESOLVED FIXED
Product: OCG
Classification: Unclassified
PDF renderer (Other open bugs)
unspecified
All All
: Unprioritized blocker
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-04 21:15 UTC by Giuseppe Lavagetto
Modified: 2014-10-09 17:32 UTC (History)
2 users (show)

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


Attachments

Description Giuseppe Lavagetto 2014-10-04 21:15:42 UTC
The tmpfs gets full because of a single page generated.

The latest offender, according to the authors.db file, is

https://en.wikipedia.org/wiki/Information_and_communication_technologies_for_development

please find out what happens as this is blocking production and requiring regular ops intervention.
Comment 1 Giuseppe Lavagetto 2014-10-04 21:16:28 UTC
I should have added that it fills up because a 32 gb pdf file gets generated.
Comment 2 Giuseppe Lavagetto 2014-10-06 08:07:44 UTC
This happened again, for the same article, this morning. See the Server Admin Log for the timing.
Comment 3 Giuseppe Lavagetto 2014-10-06 09:20:27 UTC
I strongly suspect this has to do with the ocg service trying to embed

https://en.wikipedia.org/w/index.php?title=File:Wireless_Networking_in_the_Developing_World_(WNDW)_Third_Edition.pd

in the bundle/images/ dir I find one pdf file which is huge - it's a collection of scans in pdf form, which are ~ 188 MB each (per page).
Comment 4 Giuseppe Lavagetto 2014-10-06 10:06:30 UTC
As a stopgap solution, I added a <span class="noprint"> around the reference to the file, hoping this will stop the issues.
Comment 5 Gerrit Notification Bot 2014-10-06 19:11:11 UTC
Change 165041 had a related patch set uploaded by Cscott:
Limit bundle sizes to 512MB (which should be very generous).

https://gerrit.wikimedia.org/r/165041
Comment 6 Gerrit Notification Bot 2014-10-06 19:12:10 UTC
Change 165034 had a related patch set uploaded by Cscott:
Add options to limit bundle and image size.

https://gerrit.wikimedia.org/r/165034
Comment 7 Gerrit Notification Bot 2014-10-06 20:17:42 UTC
Change 165041 merged by Cscott:
Limit bundle sizes to 512MB (which should be very generous).

https://gerrit.wikimedia.org/r/165041
Comment 8 Gerrit Notification Bot 2014-10-06 20:33:19 UTC
Change 165034 merged by jenkins-bot:
Add options to limit bundle and image size.

https://gerrit.wikimedia.org/r/165034
Comment 9 C. Scott Ananian 2014-10-06 21:53:41 UTC
Should be fixed with https://wikitech.wikimedia.org/wiki/OCG/Deployments#2014-10-6_.28afternoon.29

Can't test quite yet since a crashed entry for [[Information and communication technologies for development]] is still in the status queue.
Comment 10 C. Scott Ananian 2014-10-09 17:32:48 UTC
Fixed by https://gerrit.wikimedia.org/r/165632

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


Navigation
Links