From 1aac64ab64e4cfcfdeb4552aa637a1f7f4e87dd0 Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Fri, 17 Mar 2023 15:22:54 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20workaround=20pour=20r=C3=A9duire=20les?= =?UTF-8?q?=20fuites=20m=C3=A9moire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoPuma.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HowtoPuma.md b/HowtoPuma.md index bbe3bf94..bb68e090 100644 --- a/HowtoPuma.md +++ b/HowtoPuma.md @@ -38,6 +38,7 @@ WorkingDirectory=%h/www UMask=0027 PIDFile=%h/ruby.pid ExecStartPre=/bin/mkdir -m 0750 %h/run +Environment="MALLOC_ARENA_MAX=2" # workaround pour réduire les fuites mémoire ExecStart=/usr/local/bin/puma --bind unix://%h/run/puma.sock?umask=0007 --pidfile %h/run/puma.pid --dir %h/www --config /etc/puma/%u.rb ExecReload=/bin/kill -USR2 $MAINPID KillMode=process