Skip to content

Commit 970df91

Browse files
authored
Merge pull request #707 from andyzhangx/set-file-limit-KillMode
fix: open file num limit setting issue and KillMode in blobfuse-proxy
2 parents 28a3093 + 9c04311 commit 970df91

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkg/blobfuse-proxy/blobfuse-proxy.service

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ Description=Blobfuse proxy service
33

44
[Service]
55
ExecStart=/usr/bin/blobfuse-proxy --v=5 --blobfuse-proxy-endpoint=unix://var/lib/kubelet/plugins/blob.csi.azure.com/blobfuse-proxy.sock
6+
Delegate=yes
7+
KillMode=process
8+
Restart=always
9+
OOMScoreAdjust=-999
10+
# Having non-zero Limit*s causes performance problems due to accounting overhead
11+
# in the kernel. We recommend using cgroups to do container-local accounting.
12+
LimitNPROC=infinity
13+
LimitCORE=infinity
14+
LimitNOFILE=infinity
15+
TasksMax=infinity
616

717
[Install]
818
WantedBy=multi-user.target

0 commit comments

Comments
 (0)