On 10/20/21 09:31, Ulrich Windl wrote:
Wondering about "LimitNOFILE=96": Wouldn't that limit the open sockets (connections) as well?
Sorry, I fetched the example from a memory-constrained demo server on which I deliberately configured really low resource usage values to provoke hitting limits.
(IIRC slapd pre-allocates a struct for the possible number of files.)
The default in Æ-DIR's ansible role is higher. Of course I expect the reader here to not blindly copy everything and rather check the exact meaning of systemd directives.
systemd has fairly good docs and I mainly wanted to point out the sandboxing stuff:
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Sandboxin...
Ciao, Michael.