How to calculate fs.file-max? what is the recommended value for rhel-7 and how to calculate the correct value?
Asked
Active
Viewed 463 times
1 Answers
2
You can increase it to as much as you want or need, as long as you have enough memory available and free CPU cycles.
Fedora 32 64bit has as default fs.file-max = 9223372036854775807

Mircea Vutcovici
- 17,619
- 4
- 56
- 83
-
-
it is just the default that is coming with Fedora 32 kernel. It is the maximum 64 bit integer: 2⁶³−1. – Mircea Vutcovici Aug 24 '20 at 23:22
-
See also: https://github.com/systemd/systemd/commit/a8b627aaed409a15260c25988970c795bf963812 – Mircea Vutcovici Aug 24 '20 at 23:25