1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

Set LimitNPROC=512 for systemd

This commit is contained in:
Julian Mazzitelli 2017-08-14 12:42:05 -04:00
parent 261547b42c
commit 280ae833d4

View file

@ -26,7 +26,7 @@ TimeoutStopSec=5s
; Limit the number of file descriptors; see `man systemd.exec` for more limit settings. ; Limit the number of file descriptors; see `man systemd.exec` for more limit settings.
LimitNOFILE=1048576 LimitNOFILE=1048576
; Unmodified caddy is not expected to use more than that. ; Unmodified caddy is not expected to use more than that.
LimitNPROC=64 LimitNPROC=512
; Use private /tmp and /var/tmp, which are discarded after caddy stops. ; Use private /tmp and /var/tmp, which are discarded after caddy stops.
PrivateTmp=true PrivateTmp=true