5.2 Increase Maximum Number of Open Files
Perform the following procedure to set the max open files limit to
tpdProvd
:
- Add the following command in the
/usr/lib/systemd/system/tpdProvd.service
file, in the Service section after "UMask" value set, which is beforeExecStart
command:# Set limit to number of open files LimitNOFILE=32768 # # Define the commands to start/stop the service. ExecStart=/usr/TKLC/plat/bin/tpdProvd --daemon
- Run the following
command:
systemctl daemon-reload systemctl restart tpdProvd.service Before change : ----------------------- [admusr@sanityDSRNO92102a-DNO01 ~]$ ps -ef | grep -i tpdprovd tpdProvd 6071 1 0 Jan16 ? 01:52:06 /usr/bin/perl -T /usr/TKLC/plat/bin/tpdProvd --daemon admusr 852030 849332 0 07:44 pts/1 00:00:00 grep --color=auto -i tpdprovd [admusr@sanityDSRNO92102a-DNO01 ~]$ cat /proc/6071/limits | grep -i open Max open files 1024 262144 files After change: -------------------- [admusr@sanityDSRNO92102a-DNO01 ~]$ ps -ef | grep -i tpdprovd tpdProvd 852953 1 2 07:45 ? 00:00:00 /usr/bin/perl -T /usr/TKLC/plat/bin/tpdProvd --daemon admusr 853476 849332 0 07:46 pts/1 00:00:00 grep --color=auto -i tpdprovd [admusr@sanityDSRNO92102a-DNO01 ~]$ cat /proc/852953/limits | grep -i open Max open files 32768 32768 files