mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 09:40:13 +08:00
Set LimitNPROC=512 for systemd
This commit is contained in:
parent
261547b42c
commit
280ae833d4
2
dist/init/linux-systemd/caddy.service
vendored
2
dist/init/linux-systemd/caddy.service
vendored
|
@ -26,7 +26,7 @@ TimeoutStopSec=5s
|
|||
; Limit the number of file descriptors; see `man systemd.exec` for more limit settings.
|
||||
LimitNOFILE=1048576
|
||||
; 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.
|
||||
PrivateTmp=true
|
||||
|
|
Loading…
Reference in New Issue
Block a user