I used the
cat /proc/<pid>/limits command to check the Max open file hard and soft limit, but I want to know how this value will be set and can it be increased or decreased?
Is this value is set in some configuration file?
ulimit command, but that is not helpful to set limit of specific process.
# ulimit -n 2048
But still i am seeing 1024 in
# cat /proc/<pid>/limits .. Max open files 1024 4096 files ..
I know similar questions are asked but, i can't find any better answer.