Why all user processes are started with nice value of 2?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Issue

  • There are few systems where many of the user processes have a nice value of 2. All Oracle user processes are like this.
  • Is there any particular reason behind this? Hot to ensure these processes only start with nice value of 0?

Resolution

  • Check out all the cron jobs and user specific configurations done.
  • Also check the file /etc/rc.local as well.

Diagnostic Steps

  • Check the output of the following command.
# ps -eo pid,user,nice,command
  • Also get the output of rpm -Va to see what files are changed.
  • Check out the cron jobs set for the machine.
  • Reset the nice value 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.

Comments