Add rlimits to service file
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
		| @@ -8,6 +8,11 @@ ExecStartPre=/sbin/modprobe overlay | ||||
| ExecStart=/usr/local/bin/containerd | ||||
| Delegate=yes | ||||
| KillMode=process | ||||
| LimitNOFILE=1048576 | ||||
| # 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 | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Crosby
					Michael Crosby