I set some values in /etc/security/limits.conf
as below:
* hard stack 204800
* hard nofile 8192
Then rebooted the server. Also I have removed the file /etc/security/limits.d/90-nproc.conf
However, the ulimit
command still lists some old/default values:
# ulimit -s
10240
# ulimit -n
1024
I running RHEL 6.2 64-bit
What is wrong here? Is my syntax in limits.conf
wrong? Why after server reboot it does not honor limits.conf
values?
BTW, I had posted this question earlier on superuser but failed to get the hits, so trying my luck on serverfault.