Error connecting to db1062 as user wikiuser: :real_connect(): (HY000/2002): Connection refused
Wikimedia\Rdbms\LoadMonitor::getServerStates: host db1062 is unreachable
#0 /srv/mediawiki/php-1.35.0-wmf.5/includes/libs/rdbms/database/DatabaseMysqlBase.php(143): Wikimedia\Rdbms\Database->newExceptionAfterConnectError(':real_connect()...') #1 /srv/mediawiki/php-1.35.0-wmf.5/includes/libs/rdbms/database/Database.php(319): Wikimedia\Rdbms\DatabaseMysqlBase->open('db1062', …) … #4 /srv/mediawiki/php-1.35.0-wmf.5/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1207): Wikimedia\Rdbms\LoadBalancer->reallyOpenConnection(5, Object(Wikimedia\Rdbms\DatabaseDomain), Array) #5 /srv/mediawiki/php-1.35.0-wmf.5/includes/libs/rdbms/loadbalancer/LoadBalancer.php(928): Wikimedia\Rdbms\LoadBalancer->getForeignConnection(5, '', 3) … #8 /srv/mediawiki/php-1.35.0-wmf.5/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2211): Wikimedia\Rdbms\LoadMonitor->getLagTimes(Array, 'centralauth') … #29 /srv/mediawiki/php-1.35.0-wmf.5/includes/block/BlockManager.php(470): User->getBlock() #30 /srv/mediawiki/php-1.35.0-wmf.5/includes/MediaWiki.php(751): MediaWiki\Block\BlockManager->trackBlockWithCookie(Object(User), Object(WebResponse)) #31 /srv/mediawiki/php-1.35.0-wmf.5/includes/api/ApiMain.php(565): MediaWiki::preOutputCommit(Object(DerivativeContext)) #32 /srv/mediawiki/php-1.35.0-wmf.5/includes/api/ApiMain.php(510): ApiMain->executeActionWithErrorHandling() #33 /srv/mediawiki/php-1.35.0-wmf.5/api.php(83): ApiMain->execute()
Impact
4000 hits per hour every hour since about 24 hours ago 4 Dec 2019 ~03:00 UTC.
I've not been able to correlate this with a fatal error from MediaWiki which suggests retries are working and holding us up, but likely at the cost of slower DB connections from MW for all s7 wikis databases.
Note though, that while this is an s7 wiki host, it appears to be hit during web requests for all other wikis as well (eg. enwiki, eswiki). Might be due to centralauth/metawiki being on s7.