Cross-check max_connections against RLIMIT_NOFILE at startup/reload (review #010 C2)
This commit is contained in:
1 parent
1bbb9c237c
commit
da4c3a8a12
10 files changed
+248
-13
No files matched your search
@@ -10,6 +10,10 @@ ExecStart=/usr/local/bin/reverse-proxy --config /etc/reverse-proxy/config.toml
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
# FD headroom: max_connections + 64 reserved must fit under this limit
|
||||
# (see docs/architecture/operations.md "File Descriptor Budget", review #010 C2)
|
||||
LimitNOFILE=8192
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
|
||||
Reference in new issue
Block a user