# SOME DESCRIPTIVE TITLE. # Copyright (C) 2022, The Funkwhale Collective # This file is distributed under the same license as the funkwhale package. # FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: funkwhale 1.2.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-07-01 10:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.1\n" #: ../../administrator_documentation/configuration_docs/optimize.md:1 msgid "Optimize memory usage" msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:3 msgid "" "Funkwhale has a reasonable memory footprint. If you're running Funkwhale " "on a limited device, you can use these tweaks to reduce the footprint." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:5 msgid "Reduce workers concurrency" msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:7 msgid "" "Funkwhale uses Celery to handle asynchronous tasks. By default, Celery " "spawns a worker per CPU core. This can lead to higher memory usage." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:9 msgid "" "You can set the number of workers using the `CELERYD_CONCURRENCY` " "variable in your `.env` file. For example, a value of " "`CELERYD_CONCURRENCY=1` spawns a single worker." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:12 msgid "" "Reducing the number of celery workers slows down the handling of " "asynchronous tasks. On larger instances, this can cause performance " "problems." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:15 msgid "Switch to solo pool execution" msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:17 msgid "" "Celery uses a `prefork` pool by default. This enables the server to " "process many tasks at the same time. You can switch to a `solo` pool " "which handles tasks one at a time. This reduces memory overhead but " "removes the ability to process tasks concurrently." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md msgid "Debian" msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:21 msgid "Open your `funkwhale-worker` unit file in an editor." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:27 msgid "Add the `--pool=solo` flag to the `ExecStart` line of your unit file." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:33 msgid "Restart the Celery service." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md msgid "Docker" msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:43 msgid "" "Add the `--pool=solo` flag to the `celerybeat` command in `docker-" "compose.yml`." msgstr "" #: ../../administrator_documentation/configuration_docs/optimize.md:51 msgid "Restart Celery." msgstr ""