Page MenuHomeMiraheze

JobQueue spiralling out of control (Late May 2022)
Closed, ResolvedPublic

Description

Seems to be echo notifications constantly triggering. Queue is growing rapidly and out of control.

Related Objects

StatusAssignedTask
ResolvedUnknown Object (User)
ResolvedUnknown Object (User)
DeclinedUnknown Object (User)
ResolvedUnknown Object (User)

Event Timeline

RhinosF1 triaged this task as Unbreak Now! priority.May 29 2022, 12:19
RhinosF1 created this task.
RhinosF1 renamed this task from JobQueue spiralling out of control to JobQueue spiralling out of control (Late May 2022).May 29 2022, 12:21
RhinosF1 lowered the priority of this task from Unbreak Now! to High.May 29 2022, 13:12
RhinosF1 raised the priority of this task from High to Unbreak Now!.May 29 2022, 20:40

refreshLinks paged now :(

Dmehus lowered the priority of this task from Unbreak Now! to High.May 30 2022, 04:28
Dmehus subscribed.

This is definitely a high priority issue, but I feel that unless we can resolve something that is unbreak now within 24 hours or or less, we should use High. Lowering to High on that basis, but @Reception123 or another MWE can feel free to raise to UBN if preferred

Unknown Object (User) closed subtask T9299: Create an open dblist as Resolved.May 30 2022, 05:43

@Dmehus: No it's not UBN now but it keeps alerting and the job queue & exceptions alerts are supposed to show user impact and by definition when they alert be unbreak now.

Unknown Object (User) added a comment.May 30 2022, 23:04
/srv/mediawiki/w/maintenance/runJobs.php --wiki=polandballwiki --type=EchoNotificationJob --maxtime=60 --memory-limit=192M --result=json
PHP Warning: Invalid argument supplied for foreach()
from /srv/mediawiki/w/extensions/CommentStreams/includes/CommentStreamsStore.php(715)
#0 /srv/mediawiki/w/extensions/CommentStreams/includes/CommentStreamsStore.php(715): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/w/extensions/CommentStreams/includes/EchoInterface.php(157): MediaWiki\Extension\CommentStreams\CommentStreamsStore->getWatchers(integer)
#2 /srv/mediawiki/w/extensions/Echo/includes/controller/NotificationController.php(449): MediaWiki\Extension\CommentStreams\EchoInterface::locateUsersWatchingComment(EchoEvent)
#3 /srv/mediawiki/w/extensions/Echo/includes/controller/NotificationController.php(466): EchoNotificationController::evaluateUserCallable(EchoEvent, string)
#4 /srv/mediawiki/w/extensions/Echo/includes/controller/NotificationController.php(116): EchoNotificationController::getUsersToNotifyForEvent(EchoEvent)
#5 /srv/mediawiki/w/extensions/Echo/includes/jobs/NotificationJob.php(13): EchoNotificationController::notify(EchoEvent, boolean)
#6 /srv/mediawiki/w/includes/jobqueue/JobRunner.php(373): EchoNotificationJob->run()
#7 /srv/mediawiki/w/includes/jobqueue/JobRunner.php(334): JobRunner->doExecuteJob(EchoNotificationJob)
#8 /srv/mediawiki/w/includes/jobqueue/JobRunner.php(247): JobRunner->executeJob(EchoNotificationJob)
#9 /srv/mediawiki/w/maintenance/runJobs.php(97): JobRunner->run(array)
#10 /srv/mediawiki/w/maintenance/doMaintenance.php(108): RunJobs->execute()
#11 /srv/mediawiki/w/maintenance/runJobs.php(134): require_once(string)
#12 {main}

Potentially related.

Unknown Object (User) lowered the priority of this task from High to Normal.EditedMay 31 2022, 08:04

It eventually resolves it self. Keeping in mind that if a large wiki edits one template, it can generate thousands of refreshLinks (or similar) jobs, eventually resolving, but this isn't necessarily high priority with virtually no user-sided impact immediately noticeable.

Unknown Object (User) closed this task as Resolved.Jun 1 2022, 22:49
Unknown Object (User) claimed this task.

We are under 300 unclaimed jobs right now, so it does recover itself eventually. It's expectant to be high sometimes per what I said above.

Unknown Object (User) moved this task from Backlog to Short Term on the MediaWiki (SRE) board.Jun 1 2022, 22:49