ulimit -a doesn't appear correct for nice value for a given user
Issue
In a RHEL6 server, we set nice value to "0" hard and soft in /etc/security/limits.conf. When I su - to the ID and type "ulimit -a", the nice value appears as 20. If I change it to 10 in the conf file, ulimit displays as 10. If I change it to -15 in the conf file, ulimit -a displays it as 35. Can you explain why this changes? It is happening on every RHEL6 server I tried.
Environment
Red Hat Enterprise Linux
6.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
