Hi!
I would like to change the file descriptor soft limit for a specific process which is executed via a systemctl service and is actually a server which creates socket connections therefore I would like to increase the limit to more than 100k
In this case there is the option of editing directly /etc/security/limits.conf which as far as I know it will apply the changes for the user but
recently I learned also that systemctl provides this options
Code:
LimitNOFILE= ulimit -n Number of File Descriptors
Which I would like to ask, are those 2 settings are independent? I mean if I will set a value directly to the systemctl LimitNOFILE=100000, do I need to edit also the /etc/security/limits.conf ?
Thanks!