cancel
Showing results for 
Search instead for 
Did you mean: 

kernel parameter

SOLVED
Go to solution
joseph51
Regular Advisor

kernel parameter

Hi,

I have HPUX 11.11 .when the DBA team try to upgrade the Oracle version,we are getting an error messages that

Checking for maxuprc=3687; found maxuprc=3686. Failed <<<<
Checking for semmnu=4092; found semmnu=30. Failed <<<<
Checking for shmseg=120; found shmseg=32. Failed <<<<
Checking for vps_ceiling=64; found vps_ceiling=16. Failed <<<<

Then i tried to change the kernel parameters using the below commands

kmtune -s maxuprc=3687
kmtune -s semmnu=4092
kmtune -s shmseg=120
kmtune -s vps_ceiling=64

and after that i rebooted the server. But after rebooting also the parameter didnt changed.its showing

# kmtune -l -q maxuprc
Parameter: maxuprc
Current: 3686
Planned: 3687
Default: 75
Minimum: -
Module: -
Version: -
Dynamic: Yes
# kmtune -l -q semmnu
Parameter: semmnu
Current: 30
Planned: 4092
Default: 30
Minimum: -
Module: -
Version: -
Dynamic: No
# kmtune -l -q shmseg
Parameter: shmseg
Current: 32
Planned: 120
Default: 120
Minimum: -
Module: -
Version: -
Dynamic: Yes
# kmtune -l -q vps_ceiling
Parameter: vps_ceiling
Current: 16
Planned: 64
Default: 16
Minimum: -
Module: -
Version: -
Dynamic: No

My Os version is 11.11. At time i changing the Parameter i didnt get any error messages also.

Please someone help me to resolve this
thanks in advance
4 REPLIES
sen_ux
Valued Contributor

Re: kernel parameter

I think you have not rebuilt the kernel.
Do

#mk_kernel
#kmupdate
#shutdown -ry 0
joseph51
Regular Advisor

Re: kernel parameter

Sen,Only i need to run the steps you mentioned above..?

Is there anything risky in this command. Because its the main production Box.

And one more thing i found that ,when i check in SAm to change this parameter its showing some formula

((NPROC*9)/10)

Whether its really require.? And why it didnt show at the time i executed

kmtune -s maxuprc=3687
sen_ux
Valued Contributor
Solution

Re: kernel parameter


When you do the changes using sam you can see the and dependencies, but you can not see through command lines.
It is a good practice to do using sam.

It is recommended to change the value of the dependent parameter accordingly.

You can follow the below command line steps.

cp /stand/vmunix /stand/vmunix.old
cp /stand/system /stand/system.old
/usr/lbin/sysadm/system_prep -s /stand/system
kmtune -s =
kmtune -s =
mk_kernel
kmupdate
shutdown -ry 0

No risks involved. Check and confirm the values of the parameter and dependents. You can find the parameter and dependencies @ hp site ,docs.hp.com.




joseph51
Regular Advisor

Re: kernel parameter

Thanks to all for valuable answers