Why all user processes are started with nice value of 2?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Issue
- There are few systems where many of the user processes have a
nicevalue of 2. All Oracle user processes are like this. - Is there any particular reason behind this? Hot to ensure these processes only start with
nicevalue of 0?
Resolution
- Check out all the
cronjobs and user specific configurations done. - Also check the file
/etc/rc.localas well.
Diagnostic Steps
- Check the output of the following command.
# ps -eo pid,user,nice,command
- Also get the output of
rpm -Vato see what files are changed. - Check out the
cronjobs set for the machine. - Reset the
nicevalue of those processes to 0 manually and restart to see if those are getting the value of 2 again.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
