Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A large Celery queue #13492

Open
2 tasks done
dxdx123 opened this issue Jan 14, 2025 · 4 comments
Open
2 tasks done

A large Celery queue #13492

dxdx123 opened this issue Jan 14, 2025 · 4 comments
Labels
question This is more a question for the support than an issue.

Comments

@dxdx123
Copy link

dxdx123 commented Jan 14, 2025

Describe the issue

I uploaded an Excel file with 460,000 entries as the source file, along with translations in 4 languages. The Celery queue is currently extremely large, reaching millions of tasks. It has been running for 2 days, and the consumption rate is still very slow. Is there any way to cancel the queue?

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

Upload the Excel file to the Git repository and synchronize the Git repository on Weblate.

Expected behavior

No response

Screenshots

image

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@dxdx123
Copy link
Author

dxdx123 commented Jan 14, 2025

Can I stop using the command directly? And delete the redis data at the same time
Will there be any problems:

docker-compose exec --user weblate weblate supervisorctl stop celery-memory


notify queue:
I tried to delete notify from reids. After restarting celery-notify, weblate started to perform subsequent tasks.

After deleting notify from reidis, reidis memory usage dropped by 50%, and the load on the ec2 instance also dropped from 5 to 1. I don’t know if I can use the same method to clear the memory queue. I don’t know exactly what this queue does.

@nijel
Copy link
Member

nijel commented Jan 14, 2025

The memory queue is used for translation memory updates. When you discard it, you can always rebuild it from scratch.

What Weblate version do you use? The 5.9 release heavily improved these operations.

@dxdx123
Copy link
Author

dxdx123 commented Jan 14, 2025

5.5.5

@nijel nijel added the question This is more a question for the support than an issue. label Jan 15, 2025
Copy link

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants