mirror of
https://github.com/outbackdingo/qdrant-helm.git
synced 2026-01-27 10:20:18 +00:00
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 <mdnfiras@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user