Page MenuHomePhabricator

PHP Notice: fwrite(): write of X bytes failed with errno=32 Broken pipe (via TextPassDumper)
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Notice: fwrite(): write of 120 bytes failed with errno=32 Broken pipe
FrameLocationCall
from/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/BackupDumper.php(497)
#0[internal function]MWExceptionHandler::handleError(int, string, string, int, array)
#1/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/BackupDumper.php(497)fwrite(resource (stream), string)
#2/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/TextPassDumper.php(697)BackupDumper->progress(string)
#3/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/TextPassDumper.php(956)TextPassDumper->getText(string, string, string, int)
#4[internal function]TextPassDumper->startElement(resource (xml), string, array)
#5/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/TextPassDumper.php(498)xml_parse(resource (xml), string, bool)
#6/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/TextPassDumper.php(320)TextPassDumper->readDump(resource (stream))
#7/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/TextPassDumper.php(189)TextPassDumper->dump(bool)
#8/srv/mediawiki/php-1.43.0-wmf.26/maintenance/includes/MaintenanceRunner.php(703)TextPassDumper->execute()
#9/srv/mediawiki/php-1.43.0-wmf.26/maintenance/run.php(51)MediaWiki\Maintenance\MaintenanceRunner->run()
#10/srv/mediawiki/multiversion/MWScript.php(158)require_once(string)
#11{main}
Impact

Fills up logspam-watch substantially (especially because it’s not normalized, so each different number of bytes results in a new line) – some 1600 messages per hour. Other impact not yet known.

Notes

Only seen on snapshot1010 and only affecting frwiki. First logstash message at Oct 13, 2024 @ 16:30:01.300.

Details

MediaWiki Version
1.43.0-wmf.26
Request URL
N/A (maintenance script)

Event Timeline

This is rendering logspam-watch almost useless at the moment:

image.png (1×1 px, 369 KB)

Umherirrender renamed this task from PHP Notice: fwrite(): write of X bytes failed with errno=32 Broken pipe to PHP Notice: fwrite(): write of X bytes failed with errno=32 Broken pipe (via TextPassDumper).Dec 8 2025, 4:23 PM