Skip to content

Slow(?) postgresql queries, huge translate queue backlog #18611

@Bubu

Description

@Bubu

Describe the issue

On translate.codeberg.org we have a translate celery queue backlog of currently ~32k tasks (was >220k a few weeks ago when I stared first looking at this though), many of which are apparently executing various different very slow (~30-90s) db queries, leading to a not really decreasing task queue size as well as permanent 4 core 100% cpu utilization on the server through postgres.

Happy to provide more info about our DB contents task queue, project configs, running queries, query plans, etc.

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

See comment(s) because github complains about too long issue body. sigh

Expected behavior

No response

Screenshots

No response

Exception traceback

How do you run Weblate?

Docker container

Weblate versions

5.16.2.1 docker container

Weblate deploy checks

Additional context

No response

Metadata

Metadata

Assignees

Labels

Area: Automatic translationIssues related to automatic translations, automatic suggestions, fuzzy matching etc.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions