mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-30 18:16:51 +00:00
We recently observed a system where tsa-daemon run out of file descriptors because it hit a systemd default of 1024 on the host system, which had 192 cores. We spawn a thread per core for internal processing in tsa-daemon, and that has associated with it a number of kernel objects that each have an fd. 1024 is an unreasonably small limit for the number of fds, so let's just try to raise to match the normally much higher hard limit, just as we do in kumod.