Page MenuHomePhabricator

Cannot declare class Wikimedia\MWConfig\Profiler, because the name is already in use in Profiler.php
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
normalized_message
Cannot declare class Wikimedia\MWConfig\Profiler, because the name is already in use in Profiler.php
exception.trace
#0 /srv/mediawiki/wmf-config/PhpAutoPrepend.php(30): require_once()
Notes
  • The exception happens rarely—22 times in the past 90 days
  • Always on parsoid servers (wtp*.eqiad.wmnet)
  • Only happened on wikipedia wikis and once on commons (over the past 90 days)
  • Always with the pagebundle endpoint; e.g., /w/rest.php/<wikipedia>/v3/page/pagebundle/<etc>

Details

Request URL
https://zh.wikipedia.org/w/rest.php/zh.wikipedia.org/v3/transform/pagebundle/to/pagebundle/<etc>

Event Timeline

This looks like T254209 which was closed as opcache corruption

Krinkle subscribed.
This comment was removed by Krinkle.

I am waving hands here, but I wonder if this is a symptom of OOM / timeout and something not being cleaned up properly on the server, but not sure how / why a new request would be sent to the same process.

Well, T254209#8042296 says there were timeouts. Last time (T293568), Excimer was hitting a bug in PHP, but that was never backported to 7.2. Maybe this is another symptom of it.