From dec11f5a9a2d4d0a8c93cf55647ee4a84bbf2bd6 Mon Sep 17 00:00:00 2001 From: Bastian Hofmann Date: Fri, 27 Jun 2025 19:38:32 +0200 Subject: [PATCH] Ensure that open file descriptor limit is set correctly on startup (#355) * Set open file descriptors limit to 65536 in initialize,sh script (#1) * Use safer ulimit increase --------- Co-authored-by: Firas Medini --- charts/qdrant/templates/configmap.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/qdrant/templates/configmap.yaml b/charts/qdrant/templates/configmap.yaml index 87b9f01..a81fffa 100644 --- a/charts/qdrant/templates/configmap.yaml +++ b/charts/qdrant/templates/configmap.yaml @@ -7,6 +7,11 @@ metadata: data: initialize.sh: | #!/bin/sh + echo "Soft limits" + ulimit -a -S + echo "Hard limits" + ulimit -a -H + ulimit -n $(ulimit -Hn) SET_INDEX=${HOSTNAME##*-} {{- if and (.Values.snapshotRestoration.enabled) (eq (.Values.replicaCount | quote) (1 | quote)) }} echo "Starting initializing for pod $SET_INDEX and snapshots restoration"