craftcms / craftcms/cms

Queue Manager taking too long to clear the queue

Open
#6,720 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

I had 18,000 jobs in queue manage updating element slugs and URIs and updating search indexes. It's been 24 hours and now the total jobs left in queue manager are 12,958 jobs.

I feel since I have updated the craft to craft 3.5.5, the queue manager is working too slow.

Steps to reproduce
Additional info
  • Craft version: 3.5.5
  • PHP version: 7.4.9
  • Database driver & version: MySQL 5.5.65
  • Plugins & versions:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the queue workload described on Craft 3.5.5 with PHP 7.4.9 and MySQL 5.5.65, using the queue manager and the slug, URI, and search-index updates mentioned. Compare processing rates and investigate where the queue slows; done means the reported workload clears substantially faster or the limiting behavior is documented with evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.