Linux How to Inccrease process file descriptor limit

I have increased users file descriptor limit by following below link

https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

I have set the value for root user as below

#

root soft nofile 8192
root hard nofile 65536

But after setting also my process limit doesn’t change, how to change it?

[root@performance-server ~]# cat /proc/2013/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 512493 512493 processes
Max open files 1024 4096 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 512493 512493 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
[root@performance-server ~]#

Regards
Mohanaprakash T

Did you restarted the 2013 process? Some process do not run as root. They run as their own user. For example, nginx or oracle services have their own user. So you need to add those user names on your system. In some cases you need to configure systemd. May I know your server/service name including Linux distro name?

After changing the ulimit i have restarted process 2013 again.

I am using centos 7-4.1708.el7.centos.

User of PID 2013 is root. Verified using “ps axu”

May I know your service name for PID 2013 ? Is is custom made?

Yes it is a program I have developed for streaming videos. I have tried prlimit command but i want it to happen automatically.