From 1c9d01db870a44e859cd559289e01d9ca22b08e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Sun, 13 Apr 2025 11:03:20 +0200 Subject: [PATCH] staging: deploy tricot with jemalloc heap profiling --- cluster/staging/app/core/deploy/tricot.hcl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cluster/staging/app/core/deploy/tricot.hcl b/cluster/staging/app/core/deploy/tricot.hcl index 10f7715..b319232 100644 --- a/cluster/staging/app/core/deploy/tricot.hcl +++ b/cluster/staging/app/core/deploy/tricot.hcl @@ -24,7 +24,7 @@ job "core-tricot" { driver = "docker" config { - image = "armael/tricot:63y35616dja8wq58dhcz362xsz95jzyk-76cae34d" + image = "armael/tricot:jemalloc-3" network_mode = "host" readonly_rootfs = true ports = [ "http_port", "https_port" ] @@ -34,6 +34,13 @@ job "core-tricot" { ulimit { nofile = "65535:65535" } + # exporting jemalloc profiles requires a + # writeable tmpfs + mount { + type = "tmpfs" + target = "/tmp" + readonly = false + } } resources {