By default, the value of parameter fs.file-max is 96000 which is set in the TKG template.
TCA version : 2.3
TKG version : 2.1.1
The parameter value fs.file.max is configured on all TKG nodes based on the Photon OVA template used and is set as per default design.
The default value of the parameter fs.file.max is set to 96,000, based on the default configuration of Photon OVA templates, which have a default RAM allocation of 16 GB.
The calculation is as follows:
It is recommended to keep this setting as is, unless there is a specific requirement to increase it. If there is specific need to increase the limit, it can be achieved by adding fs.file-max setting in both /etc/sysctl.d/99-telco.conf and /etc/sysctl.conf via CSAR file injection.
fs.file-max=1048576
fs.file-max=96000 --> change this line to 1048576
net.ipv4.tcp_syncookies=1
kernel.randomize_va_space=2
net.ipv4.conf.all.accept_source_route=0
net.ipv4.conf.default.accept_source_route=0
net.ipv4.conf.eth0.accept_source_route=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.eth0.accept_source_route=0
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.default.accept_redirects=0
net.ipv4.conf.eth0.accept_redirects=0
net.ipv4.conf.all.secure_redirects=0
net.ipv4.conf.default.secure_redirects=0
net.ipv4.conf.eth0.secure_redirects=0
net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.default.send_redirects=0
net.ipv4.conf.eth0.send_redirects=0
net.ipv4.conf.all.log_martians=1
net.ipv4.conf.default.log_martians=1
net.ipv4.conf.eth0.log_martians=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.eth0.rp_filter=1
net.ipv4.conf.all.mc_forwarding=0
net.ipv4.conf.default.mc_forwarding=0
net.ipv4.conf.eth0.mc_forwarding=0
net.ipv6.conf.all.mc_forwarding=0
net.ipv6.conf.default.mc_forwarding=0
net.ipv6.conf.eth0.mc_forwarding=0
net.ipv4.tcp_timestamps=1