I have a systemd user service with LimitNOFILE
set. The value is respected until it hits 4096. After that point, it's capped to 4096. I've also tried increasing DefaultLimitNOFILE
in /etc/systemd/user.conf
.
It's set correctly in limits.conf, which works for new shells out of the box. Though, I heard systemd doesn't care about that file. What could be the problem?