File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,18 @@ KillMode=process
8888Restart=always
8989RestartSec=5
9090
91- # Having non-zero Limit*s causes performance problems due to accounting overhead
91+ # Having non-zero Limits causes performance problems due to accounting overhead
9292# in the kernel. We recommend using cgroups to do container-local accounting.
9393LimitNPROC=infinity
9494LimitCORE=infinity
95+
96+ # Increase the open file limit to the kernel default
9597LimitNOFILE=infinity
9698
99+ # Increase RLIMIT_MEMLOCK to the newer linux kernel default.
100+ # This improves support for certain workloads running on linux kernel versions <= 5.15
101+ LimitMEMLOCK=8388608
102+
97103# Comment TasksMax if your systemd version does not supports it.
98104# Only systemd 226 and above support this version.
99105TasksMax=infinity
You can’t perform that action at this time.
0 commit comments