Skip to content

Commit

Permalink
Merge pull request #707 from andyzhangx/set-file-limit-KillMode
Browse files Browse the repository at this point in the history
fix: open file num limit setting issue and KillMode in blobfuse-proxy
  • Loading branch information
andyzhangx committed Jun 25, 2022
2 parents 28a3093 + 9c04311 commit 970df91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/blobfuse-proxy/blobfuse-proxy.service
Expand Up @@ -3,6 +3,16 @@ Description=Blobfuse proxy service

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

[Install]
WantedBy=multi-user.target

0 comments on commit 970df91

Please sign in to comment.