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:
parent
261547b42c
commit
280ae833d4
1 changed files with 1 additions and 1 deletions
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.
|
; 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
|
||||||
|
|
Loading…
Reference in a new issue