Page MenuHomePhabricator

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

Description

Error
normalized_message
Cannot declare class Wikimedia\MWConfig\XWikimediaDebug, because the name is already in use in XWikimediaDebug.php
exception.trace
#0 /srv/mediawiki/wmf-config/profiler.php(12): require_once()
#1 /srv/mediawiki/wmf-config/PhpAutoPrepend.php(30): require_once()
Impact

a ton of log spam since 02:00 UTC today (~10 identical errors logged per minute)

Notes
  • the errors are all coming from parsoid servers

Details

Request URL
https://en.wikipedia.org/wiki/Special:BlankPage

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
mmodell triaged this task as Unbreak Now! priority.Sep 1 2021, 4:14 AM
mmodell updated the task description. (Show Details)
mmodell added a project: Parsoid.

Mentioned in SAL (#wikimedia-operations) [2021-09-01T11:19:52Z] <Krinkle> effie restarted php-fpm on parse2007.codfw.wmnet, ref T290120.

They're all from a single host, too, parse2007, which I believe fits the description of opcache bugs, given there appears to be nothing unusual about how this class is defined or loaded.

We have seen this once or twice before as previously reported at T245183#6212267. A php-fpm restart should take care of it. Ref T266055.

Screenshot 2021-09-01 at 12.10.38.png (1×2 px, 291 KB)

Krinkle claimed this task.

Mentioned in SAL (#wikimedia-operations) [2021-09-28T12:10:19Z] <Lucas_WMDE> lucaswerkmeister-wmde@wtp1026:~$ sudo -u mwdeploy /usr/local/sbin/restart-php7.2-fpm # attempt to solve a recurrence of T290120, but it failed

Mentioned in SAL (#wikimedia-operations) [2021-09-28T12:10:19Z] <Lucas_WMDE> lucaswerkmeister-wmde@wtp1026:~$ sudo -u mwdeploy /usr/local/sbin/restart-php7.2-fpm # attempt to solve a recurrence of T290120, but it failed

(This was since resolved. The correct command is sudo -i /usr/local/sbin/restart-php7.2-fpm. Sorry for the noise here.)