Page MenuHomePhabricator

P13326 is inaccessible
Closed, DuplicatePublicPRODUCTION ERROR

Description

Steps to replicate the issue (include links if applicable):

What happens?:

Event Timeline

Indeed, for example

Request served via cp3069 cp3069, Varnish XID 912831458
Upstream caches: cp3069 int
Error: 500, Internal Server Error at Sat, 22 Feb 2025 16:44:13 GMT

Interestingly I loaded it once pointing to a debug server, and now it seems to load correctly for me even when not pointing to that server

Looks like it was OOMing

[8cdab0d1-483b-4b55-b9ed-84912c8d1c19] /w/index.php?oldid=2315227261&title=Property:P13326   PHP Fatal Error from line 51 of /srv/mediawiki/php-1.44.0-wmf.17/extensions/Wikibase/lib/includes/Store/RevisionBasedEntityLookup.php: Allowed memory size of 1468006400 bytes exhausted (tried to allocate 20480 bytes)
[5e141250-a1d4-4297-bf39-50e73dddf8df] /wiki/Special:EntityData/P13326.ttl?flavor=dump&nocache=1740242608459   PHP Fatal Error from line 51 of /srv/mediawiki/php-1.44.0-wmf.17/extensions/Wikibase/lib/includes/Store/RevisionBasedEntityLookup.php: Allowed memory size of 1468006400 bytes exhausted (tried to allocate 20480 bytes)
[a4d4b3da-95ed-45c8-8cbf-d52298488d43] /wiki/Special:EntityData/P13326.ttl?flavor=dump&nocache=1740242491526   PHP Fatal Error from line 51 of /srv/mediawiki/php-1.44.0-wmf.17/extensions/Wikibase/lib/includes/Store/RevisionBasedEntityLookup.php: Allowed memory size of 1468006400 bytes exhausted (tried to allocate 20480 bytes)
Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptFeb 22 2025, 4:53 PM

Seems to be reproducable with https://www.wikidata.org/wiki/Special:EntityData/P13326.ttl?flavor=dump&nocache=1740239190061 a bit

Using a mwdebug host appears to load pretty dam quick.

Using k8s-mwdebug seems to not respond? I get 504 Gateway Time-out
I think I managed to find a profile for it though? https://performance.wikimedia.org/xhgui/run/view?id=67ba02a72f1c95c164e798fa

Wall Time 83,210,087 µs
CPU Time 88,023,069 µs
Memory Usage 36,147,696 bytes
Peak Memory Usage 43,878,312 bytes

Which is a lot

Req ID 70a39f37-43c6-904e-8d6c-c640c40e72f5 seems to have some interesting logs

I can't tell if the large number of Wikibase\Lib\PropertyInfoDataTypeLookup::getDataTypeIdForProperty: No property info found for P13326, but property ID could be retrieved from fallback store! has anything to do with it. I see some TODOs there? https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/lib/includes/PropertyInfoDataTypeLookup.php#L76-L86

A request going to a normal debug host, such as 487e5394-c925-9eec-93dd-531d1daaa328 doesnt include any such logs.