From 89a72cf4af07e7fec29d9a93bb06ea33b1ea69a3 Mon Sep 17 00:00:00 2001 From: David Negreira Date: Wed, 29 May 2024 13:59:30 +0200 Subject: [PATCH] Adjust vault process filelimits As per vault documentation, one should up the amount of number of files open to 65536. Closes-Bug: #2060095 Change-Id: Ib429cac715e0328437bff1a9186ff71898826b9b Signed-off-by: David Negreira --- src/templates/vault.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/templates/vault.service.j2 b/src/templates/vault.service.j2 index 3e22f31..3ac14bb 100644 --- a/src/templates/vault.service.j2 +++ b/src/templates/vault.service.j2 @@ -3,6 +3,7 @@ Description=HashiCorp Vault After=syslog.target [Service] +LimitNOFILE=65536 Type=simple ExecStart=/snap/bin/vault server -config /var/snap/vault/common/vault.hcl ExecReload=/bin/kill --signal HUP $MAINPID