From a6b4a17f87703887d073226f810f84838d55139f Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Mon, 24 Mar 2025 17:11:15 +0100 Subject: [PATCH] feat: update JuiceFS service configuration to reduce cache size to 64GB --- config/ansible/templates/juicefs.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ansible/templates/juicefs.service.j2 b/config/ansible/templates/juicefs.service.j2 index aa45744..daf7855 100644 --- a/config/ansible/templates/juicefs.service.j2 +++ b/config/ansible/templates/juicefs.service.j2 @@ -5,7 +5,7 @@ Before=docker.service [Service] Type=simple -ExecStart=/usr/local/bin/juicefs mount redis://:{{ redis_password }}@localhost:6379/0 /mnt/object_storage --cache-dir=/var/jfsCache --buffer-size=1024 --prefetch=4 --cache-size=204800 --attr-cache=3 --entry-cache=3 --open-cache=3 +ExecStart=/usr/local/bin/juicefs mount redis://:{{ redis_password }}@localhost:6379/0 /mnt/object_storage --cache-dir=/var/jfsCache --buffer-size=1024 --prefetch=4 --cache-size=65536 --attr-cache=3 --entry-cache=3 --open-cache=3 Restart=on-failure [Install]