0
Is it possible to permanently set max open file descriptors to unlimited (or something like 1 000 000 000 /or even higher)?
If yes, please tell me how. I tried ulimit -n 1048576 and it's working, but after logout this option was set to default 1024.
Are there any security issues or can be something damaged using unlimited file descriptors for process?
See here for soft, hard and kernel limits. The file descriptors are a table in memory of a certain size, and unless you have infinitive memory, you can't set it to unlimited. And the higher you set it, the more kernel address space it will take.
– dirkt – 2017-06-21T06:29:28.003