Replies: 1 comment 2 replies
-
You can reduce memory usage by having a single Celery worker to process all the queues:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running on a shared hosting environment with limited RAM per user (1.5 GB). I understand that Weblate states 3GB as minimal requirement but I hope to be able to run Weblate nonetheless. The requirements seem to be quite high for just a small website.
I have set
CELERY_WORKER_CONCURRENCY = 1
in order to limit the tasks per worker to two (one main celery task and one worker task, as far as I understand). Only then the celery tasks are not killed by the system for exceeding the RAM limit.Additional settings I have set:
But those tasks still seem to consume up to 142MB per task, as long as I am interpreting these numbers correctly. Is it normal that these tasks require so much RAM even though Weblate is completely idle / freshly set up?

Even when Weblate is running after setting
CELERY_WORKER_CONCURRENCY = 1
, as soon as I try to create a component based on a Git Repository, the app gets killed:This is my celery configuration for supervisord:
Beta Was this translation helpful? Give feedback.
All reactions