Operating System - HP-UX
1845983 Members
3477 Online
110251 Solutions
New Discussion

Re: Default Nice value Changed

 
George Nikoloudis_1
Frequent Advisor

Default Nice value Changed

Hello to all
I have 3 Oracle database where the nice of the processes is 24. the problem is that any process opened from the oracle user the nice is 24. How can I change this? Why the defualt nice changed?
4 REPLIES 4
John Palmer
Honored Contributor

Re: Default Nice value Changed

You can change the database processes back to 20 with:

renice -n 0 ...

How do you start the databases? The database processes will inherit the nice value of the job that starts it.

Regards,
John

Sridhar Bhaskarla
Honored Contributor

Re: Default Nice value Changed

George,

Interestingly it has been happening here. We opened call with HP and oracle and they couldn't find the reason. The workaround we are doing is to relink the oracle executables. It seems to fix the problem. Try it out.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Helen French
Honored Contributor

Re: Default Nice value Changed

Hi,

Another option: You can use SAM to change the nice priority of any process. Under Process Management, it will list you all processes running on the system and you can change the nice value if you want.

If you want to change the priority, use 'rtprio' command.

HTH,
Shiju
Life is a promise, fulfill it!
Deshpande Prashant
Honored Contributor

Re: Default Nice value Changed

HI
Check the shell env parameter (bgnice)
#set -o
if "bgnice" is on, any process started in that shell will have pri as 24.
Turn the bgnice with "#set +o bgnice" and all processes started in that shell will have pri. 20.


Thanks.
Prashant.
Take it as it comes.