From 7b46c4759d3129f093a546bb06512e3930d6c450 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 28 Apr 2022 11:25:38 +0200 Subject: [PATCH] Tuning Jemalloc (#3600) --- rootfs/etc/services.d/supervisor/run | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs/etc/services.d/supervisor/run b/rootfs/etc/services.d/supervisor/run index e6a065687..e08c03f84 100644 --- a/rootfs/etc/services.d/supervisor/run +++ b/rootfs/etc/services.d/supervisor/run @@ -3,5 +3,6 @@ # Start Supervisor service # ============================================================================== export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2" +export MALLOC_CONF="background_thread:true,metadata_thp:auto" exec python3 -m supervisor